3 ms·
It’s a little worse in a way, since it’s another thing to learn and use and you still need a decent knowledge and understanding of CSS. But the advantages out-
by jmull 4y ago
It’s a little worse in a way, since it’s another thing to learn and use and you still need a decent knowledge and understanding of CSS.
But the advantages out-weigh the disadvantages, IMO:
- provides a simpler, thoughtful, more logically organized version of CSS (with nice ways to extend it and escape hatches if you need them).
- the “CSS” —- meaning the CSS-like classes — live right on the HTML elements they style.
It makes it feasible to directly style HTML using CSS-like classes, rather than having to build and, importantly, maintain separate CSS and your own abstractions mapping classes and element types to styles.