和萨斯在一起
%red-text { color: red; }
.text-1 { @extend %red-text; }
.text-2 { @extend %red-text; }
.text-3 { @extend %red-text; }将呈现
.text-1, .text-2, text-3 { color: red; }可以像这样编译吗?
.text-1,
.text-2,
.text-3 { color: red; }谢谢!
发布于 2016-03-26 07:28:15
点击下面的链接,你可以在Sass中设置你的输出风格。
SASS Refence - Output styles
https://stackoverflow.com/questions/36220476
复制相似问题