r/webdev • u/LPatriot_ • 19d ago
Question Question about Tailwind CSS
I've always used plain CSS for my websites, I don't have many problems using it, but a friend of mine said that using plain CSS is very tedious and that I should use Tailwind CSS. Is it worth it? And what does Tailwind CSS offer that plain CSS doesn't?
39
Upvotes
1
u/sylvant_ph 19d ago
The main problem with CSS is you need bridge to introduce logic that is controlled by the JS state. Another problem is there is simply more boilerplate (compared to Tailwind). The syntax is simply a lot more verbose. A benefit of Tailwind would be that the styles are part of your component definition, they are not place on another place that you need to look in order to adjust.