logoalt Hacker News

stavrostoday at 12:33 PM2 repliesview on HN

I really don't understand Tailwind. I heard great things about it, and then I tried it and it seemed like setting style="" on all elements, but with extra steps.

Did we go off semantic CSS and returned to setting properties on each element, or was I using it wrong?


Replies

sorahntoday at 12:53 PM

If you're experienced with or like the way CSS works, and you didn't like Tailwind, then you were probably using it correctly.

mhitzatoday at 1:20 PM

> and it seemed like setting style="" on all elements, but with extra steps.

And extra benefits.

Generally more concise on the common usecase, but more importantly you can combine and use media queries, which can't be done with inline styles alone.