logoalt Hacker News

arealaccounttoday at 4:50 PM1 replyview on HN

I’ve mentioned this before here, but originally I was against Tailwind because it breaks the Cascading part of CSS, however I think a lot of websites lately work better with “locally scoped” styles as there are just so many different components that many things just dont need to follow a global style sheet. So now I usually reach for tailwind first, unless is a relatively simple vanilla html site


Replies

codethieftoday at 4:57 PM

Global styles are like global state in software: They're best avoided.

show 3 replies