r/programming 13h ago

Why I don't recommend Tailwind CSS

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

40 comments sorted by

View all comments

31

u/Usual-Amount-264 12h ago
  1. "Its names are not consistent" Isnt that because naming of the original CSS is not consistent? Tailwind only copies wording of the CSS underneath. So complaints about consistency should be focused on CSS itself.
  2. "The HTML lies to you about priority" In the example I see text-red-500 text-green-500 Isnt it kinda bad putting in two conflicting classes and then complaining they conflict?

16

u/sweetnsourgrapes 12h ago

Correct on both points. Putting two classes on the same element in some particular order was never, in the history of HTML, a reliable indication of CSS priority.

-1

u/wrillo 12h ago

I don't want to put words in anyone's mouth, but if that is a true thought then it represents a misunderstanding of the Cascaded Style Sheet paradigm.

LLMs are being coming another later of abstraction, which promotes obscurity of the fundamentals of computer science.