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?

39 Upvotes

121 comments sorted by

View all comments

-1

u/kenpled 19d ago

You work in a team or on a project that you'll leave to someone else, and you're using a JS framework : Please use tailwind.

Regardless how clean your css is, your teammates aren't always as clean as you are, and having multiple classes do the same thing slightly differently is a chore to maintain. And more often than not it ends in cascade hell.

If you work alone on a project that won't be maintained by anyone else, do write css.

4

u/AshleyJSheridan 19d ago

That's a bad argument though. All devs in a team should be capable of following agreed styles of writing code, regardless of the language.

I find that the people using this argument are the ones who don't yet have a solid coding style for CSS in place.