2 ms·
I know it's easier to be negative than productive when commenting on an article, but I don't really see the author's point. Tailwind is super effective at inli
by SkyPuncher 4y ago
I know it's easier to be negative than productive when commenting on an article, but I don't really see the author's point.
Tailwind is super effective at inlining the common, basic CSS tasks. Further, Tailwind does nothing to prevent you being able to write good ol' CSS.
The examples OP have picked feel niche, contrived, and likely solved in better/simpler ways. I would never dream of writing something like this:
"lg:[&:nth-child(3)]:hover:underline lg:[&:nth-child(3)]:hover:font-bold lg:[&:nth-child(3)]:hover:text-blue-600 lg:[&:nth-child(3)]:hover:opacity-100"
That's just bad CSS. That's not bad Tailwind.