News for hackers. Stuff that matters.
Re:Tailwind UI by zupa-hu on Wednesday February 26, 2020 @05:07PM (#22427893)
I think the key difference is that you can't use conditionals in style attributes. For example responsive variants, hover, focus, etc.

`text-sm lg:text-lg` is something you simply can't do in style attributes.

`text-gray-700` or `color: var(--mycolor-gray);` is indeed not _that_ much different. (I'm using CSS variables here to achieve the same as Tailwind variables.)

There are no comments on this comment yet.