News for hackers. Stuff that matters.
Re:CSS is hard no matter how good you are at it by whstl on Wednesday March 29, 2023 @04:36PM (#35363157)
Well, tailwind itself is very reusable, probably the epitome of reusable CSS.

And code that uses Tailwind is reusable as long as you use components (React, Vue, Svelte, WebComponents, CSS components with @apply, it doesn't matter). Those are reusable.

Trying to use Tailwind without components, in a CSS-garden style page for example, is just trying to fit a square peg in a round hole. It's just the wrong tool for it.

There are no comments on this comment yet.