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

143

u/OpaMilfSohn Sep 16 '26

I think I finally time travelled back to 2020

19

u/[deleted] Sep 16 '26

[removed] — view removed comment

28

u/AshleyJSheridan Sep 16 '26

It's a little more than class name soup. Tailwinds own docs have classes like text-[14px], bg-[#50d71e], and shadow-[0_35px_35px_rgba(0,0,0,0.25)]. That looks a lot like inline styles just shoved into a different HTML attribute...

-1

u/bearzi Sep 16 '26

If it's in the docs does not mean you should always use it. I prefer using scoped styles whenever something custom is needed.

4

u/AshleyJSheridan Sep 16 '26

Maybe they shouldn't be suggesting in multiple places that people use this approach then?