1.变量
@
2.混入
3.嵌套
4.&
针对当前元素还是后代元素
5.function & operations
opearations支持 + - */ 四则运算,支持大括号
lighten(@color, 10%); // return a color which is 10% *lighter* than @color
darken(@color, 10%); // return a color which is 10% *darker* than @color
saturate(@color, 10%); // return a color 10% *more* saturated than @color
desaturate(@color, 10%); // return a color 10% *less* saturated than @color
fadein(@color, 10%); // return a color 10% *less* transparent than @color
fadeout(@color, 10%); // return a color 10% *more* transparent than @color
spin(@color, 10); // return a color with a 10 degree larger in hue than @color
spin(@color, -10); // return a color with a 10 degree smaller hue than @color
6.namespace >
取出mixing对象的一部分
7. scope
就近原则
8. comments
//
/**/
9. 客户端使用
引用 less.js文件http://lesscss.googlecode.com/files/less-1.1.3.min.js