Remix.run Logo
h4ch1 5 days ago

I don't get this comment at all; you say CSS is too limiting but somehow Tailwind, which is just applying CSS using classes is liberating?

Tailwind actually complicates a lot more things, when you have to specify variants for example, there you go installing tw-variants, writing Javascript just so you can get different sorts of buttons.

This is fine for larger component libraries like shadcn-ui, but for simplicity, I'd pick up pure CSS for something like button .error; and button .secondary.

(yes I know you can just @apply whatever you want inside those blocks, but what's the benefit of tailwind then?)

robertlagrant 5 days ago | parent [-]

> you say CSS is too limiting but somehow Tailwind, which is just applying CSS using classes is liberating

If you read the article you'll see what they're talking about. It's not "CSS is too limiting" it's "CSS only applied to elements is too limiting".