1.less 作用 嵌套变量 定义:@mainColor:red; 使用:color:@mainColor;支持计算传参 .public(@w,@h){ width=@w; height=@h; } .wrap{ .public(100px,100px) } 2.服务器字体 @font-face{ font-family:name; src:url(font/...) }