Re:CSS Zen Garden
by iimblack on Thursday March 19, 2020 @03:40PM
(#22630866)
I don't use Tailwind much, but couldn't you still use the Zen Garden style of CSS with Tailwind's @apply?
[ Parent
| on HN ]
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-...