Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is an extremely limiting view. They are both CSS at the end of the day. If extracting the complicated inline TailwindCSS class to its own vanilla CSS class makes sense for readability then what's the harm? You could also just define your own variables. Tailwind gives you full control to do this.


The harm will be in a complicated project where you might have to figure out where some styles are coming from.




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

Search: