DEV Community

Discussion on: TailwindCSS: Adds complexity, does nothing.

 
moopet profile image
Ben Sinclair

Who said anything about Bootstrap?

I did, me. What I'm saying is that I've worked places where we've used Bootstrap, which uses modifier classes and does basically all the things people criticise about Tailwind. Just because I've worked somewhere that does it a particular way, and where I go along with it because it's my job, doesn't mean I approve of something. So yes, I have and still do use modifier classes, and no I don't think they're the right approach.

very curious what you're doing instead of using modifier classes to style variants

Writing semantic HTML. Where there's an absolute client requirement to do something non-semantic, then adding classes beyond the semantic, but pushing back against it.

I guess everything else I pointed out you don't feel like addressing?

Everything else you pointed out was something I (mostly) agreed with.