具有变量unicode的SASS内容
我试图将变量unicode提供给SASS mixin,这种方式在每个icon类中都没有.after/.before 到目前为止,我所拥有的:具有变量unicode的SASS内容,sass,Sass,我试图将变量unicode提供给SASS mixin,这种方式在每个icon类中都没有.after/.before 到目前为止,我所拥有的: @mixin placement($icon) { &.after:after { content: '#{$icon}'; } &.before:before { content: '#{$icon}'; } } .icon_dashboard { @include placement('\f0e4'); } 但是,在编
@mixin placement($icon) {
&.after:after { content: '#{$icon}'; }
&.before:before { content: '#{$icon}'; }
}
.icon_dashboard {
@include placement('\f0e4');
}
但是,在编译\r\r\n文件时,是否存在此问题?可能的重复:可能的重复: