News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by zztop44 on Wednesday August 16, 2023 @07:25AM (#37145428)
Why do you want to separate the CSS and HTML? They’re both style info, especially in component design.
Re:Why Tailwind CSS Won by fjfuvucucuc on Wednesday August 16, 2023 @09:42AM (#37146855)
Because they're not both style info? Html is a markup language, it applies semantic structure to your content, CSS styles html.

Classes are a tool for selecting markup to style. Sure, you can create a class for every single CSS rule you write, but just because you can doesn't mean you should.