Y
Hacker News
new
|
ask
|
show
|
jobs
by
iimblack
2286 days ago
I don't use Tailwind much, but couldn't you still use the Zen Garden style of CSS with Tailwind's @apply?
1 comments
ARussell
2285 days ago
You absolutely could. But most don't, because, as has already been mentioned in this thread, and explained by Adam Watham himself(1), it's not usually the appropriate thing to do. Components are usually a better abstraction than CSS classes.
1:
https://adamwathan.me/css-utility-classes-and-separation-of-...
link
1: https://adamwathan.me/css-utility-classes-and-separation-of-...