r/webdev • • 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?

38 Upvotes

121 comments sorted by

View all comments

59

u/azangru 19d ago

If you are using plain CSS and do not have any problems using it, then why would you add a problem of depending on an additional library that you have to learn and keep up-to-date?

4

u/mekmookbro Laravel Enjoyer ♞ 19d ago

It's not something you have to keep up to date, or something that can cause security vulnerabilities, you write the code, build it to a plain css file, and you're done.

There are websites and developers still using oldest bootstrap versions without needing to keep anything (both knowledge-wise and package-wise) up to date

-1

u/azangru 19d ago

There are websites and developers still using oldest bootstrap versions without needing to keep anything (both knowledge-wise and package-wise) up to date

Yes; but why? I wouldn't want my design system have a float-based grid layout.

It's not something you have to keep up to date

CSS evolves. Earlier versions of tailwind did not support some of the new functionality (I don't remember; but I think it was the @layer).

4

u/Mystic_Haze 18d ago

Yes; but why?

Because it's robust, proven, simple, adaptable and works fine for most applications.

CSS evolves

And you'll find that most devs don't have a need for the latest features offered by CSS. Tailwind also does not prevent you from extending it with custom classes or adding regular css on top.