News for hackers. Stuff that matters.
Re:Goodbye CSS Modules, Hello TailwindCSS by codyogden on Thursday November 04, 2021 @04:24PM (#29112132)
I know you're the creator of Tailwind. However, using emotion’s css() from @emotion/react feels like the best of both worlds. Essentially, writing inline styles but with the ability to do media queries, pseudo classes, and conditional styling based on state. I didn’t like CSS modules, I never quite “got” Tailwind’s functional take on CSS which left me feeling inflexible, but I found something great with emotion and it works wonderfully.
Re:Goodbye CSS Modules, Hello TailwindCSS by omnimus on Thursday November 04, 2021 @05:47PM (#29112911)
Might be best of both worlds if you write JS apps. Not if you write html :)
Re:Goodbye CSS Modules, Hello TailwindCSS by codyogden on Thursday November 04, 2021 @09:22PM (#29114445)
The context of this article is about managing CSS in a JavaScript application, so…