News for hackers. Stuff that matters.
Re:CSS sucks because we don't bother learning it (2022) by zelphirkalt on Monday January 05, 2026 @03:32PM (#46504491)
This doesn't make CSS classes mutable global state. CSS rules are applied according to specificity of selectors. You could maybe say that the overall style of a page is mutable state, but not the CSS classes themselves. A CSS class is assigned and that's it. Unless JS is involved, it also doesn't disappear or toggle.

There are no comments on this comment yet.