top | item 35764350

(no title)

jsyolo | 2 years ago

And let me take the opportunity to diss the failure that is mixing your styles into your layout with Tailwind and it's endless and illegible bloat of unreadable html.

Reading the bloated HTML is less painful than dealing with all the cascading crap.

discuss

order

Julesman|2 years ago

Lol. I certainly know many people feel that way, otherwise Tailwind wouldn't exist. But I'm a strict adherent to the concept that you keep your languages separate. You should not have to wonder whether you need to go to your html or css file to change the appearance of a site.

mikojan|2 years ago

> You should not have to wonder whether you need to go to your html or css file to change the appearance of a site.

Not to beat a dead horse, but:

Separation of concerns != separation of languages

If you want to change a button, ideally you go to your one BUTTON FILE.

Same applies doubly so when using Tailwind. You should not be looking around CSS files