logoalt Hacker News

hbntoday at 4:14 PM1 replyview on HN

HTML and CSS are not a separation of concerns in anything I've ever built. They're both representing the layout/design. I don't want them separate.

You end up having to keep them synchronized anyway, messing with your HTML is frequently gonna break your CSS. Tailwind is infinitely more pleasant to write than a separate CSS file that has to be kept in sync with the HTML.


Replies

grzestoday at 4:43 PM

dude, have you heard about single file components where you have HTML & CSS in one place? XD

show 1 reply