Your SCSS creates the following CSS:
ul li:before {
content: attr(data-views);
}
[data-views='$aaa'] {
font-size: 40px;
}
ul li {
width: attr(data-views);
}
This is absolutely correct CSS, but has 2 problems:
[data-views='$aaa']probably not what you wanted [data-views]makes more sense. This will select the elements (having an effect on ..) that have the data-views attribute.width: attr(data-views)is legal, but not supported by any browser at the moment . Unfortunately, there is nothing you can do about it.
SASS ( CSS-) CSS, , CSS. "" CSS ( ) .