News for hackers. Stuff that matters.
Re:Goodbye CSS Modules, Hello TailwindCSS by tchvil on Thursday November 04, 2021 @06:14PM (#29113144)
After 20+ years of HTML, CSS I started to use Tailwind for a new project. Using web components (disabling the shadow dom unfortunately).

You guessed it right. There is no need for named selectors anymore.

And you get the advantages of standardisation. People can share snippets of code you can reuse as is.

And when you have a problem, you are probably not the first to have it, and can quickly find a solution on youtube, stack overflow, etc.

Re:Goodbye CSS Modules, Hello TailwindCSS by wildrhythms on Thursday November 04, 2021 @08:36PM (#29114169)
Embracing components over classes is what helped me understand and appreciate functional CSS (Tachyons, Tailwind, etc). Lots of headaches removed when the DOM structure finally 1:1 reflects the style inheritance structure, without having to maintain the latter separately.
Re:Goodbye CSS Modules, Hello TailwindCSS by abledon on Thursday November 04, 2021 @06:18PM (#29113162)
the code-reuse is such a boon