Why Tailwind Isn't for Me - DEV Community
I think the folks building Tailwind are talented and nice people. But at a pure technical level, I simply don't like Tailwind. Whoever it was built for, it was not built for me.
- Reason 1: Tailwind promotes ugly-ass HTML.
- Reason 2: @apply is fundamentally incompatible and non-standard (and largely unnecessary).
- Reason 3: Tailwind's focus on design systems and tokens could mostly be replaced by CSS Custom Properties (aka variables)—which IS a standard.
- Reason 4: Tailwind forgets that web components exist.
- Reason 5: Finally, Tailwind encourages div/span-tag soup.
...using <div>
and <span>
tags everywhere in your markup is an anti-pattern. We live in a world where custom elements (aka <whatever-you-can-dream-of>
) are fully supported and enabled by modern browsers.
January 21, 2021 at 2:30:32 PM EST
*
FILLER