News for hackers. Stuff that matters.
Re:Why I don't like Tailwind CSS by smaudet on Thursday March 11, 2021 @04:19PM (#26429129)
"In a million-line codebase, you can add and remove classes from a specific element with 100% confidence that you are not breaking anything else."

I sometimes wonder if people even understand what technology they are using:

CSS = Cascading Style Sheets

Go read some history, as to why exactly they were created. What you are describing is not CSS at all, that's properties on a design grid.

Which goes back to the author's point - if you want or really need that, don't use CSS. Just use components with standalone properties.

Use CSS when you want to be 100% sure it will change everything else.

There are no comments on this comment yet.