Я пытаюсь добавить строку the color is green
в html на основе ввода, который я даю в scss.
@mixin jeansColor($jeancolor) {
if(type-of($jeancolor)==string) {
content: "the color is green"
}
}
.jeans:after {
@include jeansColor("green");
}
<p class="jeans"> Jeans </p>