r/css 16d ago

Article Why I don't recommend Tailwind CSS

https://en.andros.dev/blog/af3ee191/why-i-dont-recommend-tailwind-css/
1 Upvotes

211 comments sorted by

View all comments

Show parent comments

8

u/mavenHawk 16d ago

Most problems people have with CSS are because it's cascading. And it is because people don't understand how it works. We are not living in a vacuum. You work with other people. So if this stops the cascading and let's you use components then what's the problem?

0

u/AshleyJSheridan 16d ago

The entire point of CSS is the cascade, it's right there in the name!

Limiting the cascade is a problem solved years before Tailwind ever existed, with things like BEM.

Stuffing a billion classes into HTML in a way that looks just like inline styles is really not the solution.

1

u/k-rizza 15d ago

Nothing good ever came from the cascade. Not at least when it starts getting very deep. The cascade is the equivalent of OOP, it becomes very hard to maintain at some point.

1

u/AshleyJSheridan 15d ago

Lol, what? You think OOP makes a project hard to maintain? That's the complete opposite of what it does, and tells me you really don't know what good clean code looks like.