Hacker News new | ask | show | jobs
by codyogden 1693 days ago
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.
1 comments

Might be best of both worlds if you write JS apps. Not if you write html :)
The context of this article is about managing CSS in a JavaScript application, so…