News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by Spivak on Wednesday August 16, 2023 @10:44AM (#37147875)
Yep, the only even kinda maintainable CSS ends up being tailwind but in another file.

   <div class="unique-component-name">
      <input class="unique-component-name-input" />
      <p class="unique-component-name-text">Blah</p>
   </div>

   <div class="unique-component-name unique-component-name-variant1">
      ...

   .unique-component-name {
      ...
The cascading in HTML makes the thing that should be easy, creating variants with slight tweaks the most painful thing.

There are no comments on this comment yet.