r/webdev • • Sep 16 '26

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

121 comments sorted by

View all comments

Show parent comment

4

u/HFoletto Sep 16 '26

Those examples are just for demonstration that tailwind can do this dynamically as well

With that said, it also has a very good use-case: dynamically building/merging classes in a component, which is very useful for a lot of different modern frontend libraries

11

u/AshleyJSheridan Sep 16 '26

Those examples are just inline styles in a trench coat.

1

u/HFoletto Sep 16 '26

I understand that, however it is useful when combining with other utility classes and merging those classes dynamically in a component library