Hacker News new | past | comments | ask | show | jobs | submit login

You sure can, but it then comes to the separation of concerns. CSS-in-JS (coupling of concerns) is the preferred option.



Having CSS in a separate file feels like defining the predicates for your if statements in a separate file. With tailwind we're getting pretty close to a great solution here.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: