Comment

Comment by throwawayffffas

If you are thinking about CSS, in terms of state, mutability, variable names and programming, you are already down a very wrong path and you won't have a lot of luck.

CSS is about rules, selectors and cascading, hence Css.

Abstractions matter, and using procedural programming abstractions on a declarative styling language only gets in your way.

Writing CSS is not programming.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton