News for hackers. Stuff that matters.
Re:In Defense of Utility-First CSS (2018) by ratww on Saturday November 16, 2019 @01:14PM (#21554041)
> I expect the next level of utility-first CSS will do away with the CSS file altogether, and start baking the resulting styles directly into the HTML

It's not exactly the same thing, but Atomizer [0] generates a CSS file from HTML, by translating class names into functional CSS rules.

The problem with inline CSS is that it has some limitations, notably lack of support for selectors like :hover, :focus, etc, and pseudo-classes like :before and :after.

[0] https://github.com/acss-io/atomizer / https://acss.io/guides/atomizer.html

There are no comments on this comment yet.