Re:Why Tailwind CSS Won
by xigoi on Wednesday August 16, 2023 @06:28AM
(#37145040)
In that case, you just write
to set a precedent for all your future buttons.
[ Parent
| on HN ]
In that case you end up with fifteen different variations of that button, class names like "button-cta__hero__overlay" and a smattering of !importants to defeat the cascade you can't chase down
I've never ended up with something like this.
Re:Why Tailwind CSS Won
by withinboredom on Wednesday August 16, 2023 @07:38AM
(#37145537)
Work in bigger teams with bespoke css. It will happen ... eventually ... without fail.