referencing less, is never used in jQuery projects. I don"t know what went wrong
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>title</title>
<link rel="stylesheet" href="../../static/css/base.css">
<script src="../../static/js/jquery-3.0.0.min.js"></script>
<script src="../../static/js/rem.js"></script>
<script src="../../static/js/less.min.js"></script>
<link rel="stylesheet/less" type="text/less" href="../../static/css/pxrem.less">
</head>
<style type="text/less">
.activity {
width: 20rem;
height: 10rem;
background-color: bisque;
}
</style>
<body>
<div class="activity">
</div>
</body>
</html>
Project directory structure