less文件只有被编译后才能被浏览器识别和使用

less编译工具:1. Koala :国人开发的less全平台编译工具  网址:http://koala-app.com/

        2. Winless : windows下的less编译工具  网址:http://winless.org

        3. Codekit : Mac下的less编译工具 网址:http://incident57.com/codekit/index.com

客户端调试方式:1. 首先引用less文件 ,使用 标签引用,然后将rel属性值设为rel=“stylesheet/less”;

        2. 然后引用less.js,引用方式与普通js文件一样,但一定要放在less样式之后

收藏 打印