Hacker News new | ask | show | jobs
by bobthepanda 33 days ago
Modules make the global thing less of a concern these days.
1 comments

This is (imo) the most valid argument for Tailwind: the UI semantics of "hero" "card" etc aren't put in CSS, they're put in the module. Modules are typically designed for this encapsulation, and CSS was not.
when i say css modules i mean something more akin to https://css-tricks.com/css-modules-part-1-need/