LESS有诀窍吗?我无法让它在浏览器中运行。也许我在浏览器中声明样式表错误?从字面上看,它根本没有出现。我已将 min 和 LESS 文件包含在同一个文件夹中,只是为了确保它不是目录问题。这是html:
<!doctype html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jessica Colding</title>
<link rel="stylesheet/less" type="text/less" href="style.less"/>
<script src="less-1.3.3.min.js" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body lang="en">
<div id="container"> Hello</div>
</body>