我正在尝试编译此文件modal.less
,输出为空文件:
@import "elements.less";
.clearfix{
zoom: 1;
&:before { content: ''; display: block; }
&:after { content: ''; display: table; clear: both; }
}
.setheightwidth (@height, @width) {
width: @width;
height: @height;
}
#logocircle {
.setheightwidth(@logoradius, @logoradius);
}
我正在使用lessc gem进行编译:
lessc modal.less > modal.css