Answer the question
In order to leave comments, you need to log in
How to solve the problem of sсss compiling content:''?
@mixin fontello( $code ) {
&:before {
content: '\e#{$code}';
}
}
.icon-star {
@include fontello(800);
}
.icon-star:before {
content: "хрень800";
}
@mixin fontello( $code ) {
&:before {
content: '#{$code}';
}
}
после компеляции получается лишний слеш
.icon-star {
@include fontello(\e800);
}
.icon-star:before {
content: "\\e800";
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question