Tailwind and the Beauty of Ugly Code
The article name describes Tailwind exactly for me.<p>I personally am a fan of schematic html&#x2F;css. I remember the days off CSS Zen Garden, with well marked up html you can change the visual look completely by swapping out the style sheet. There’s a nice decoupling layer, it’s flexible, it’s conceptually simple, it works.<p>Despite all that I find myself using Tailwind. I’m not a frontend&#x2F;designer expert, Tailwind goes against what I believe makes good HTML, Tailwind is ugly to me, polluting classes with markup. It’s equivalent to the embedding inline styles anti pattern. However in an imperfect world it works surprisingly well for visual styling on large projects, with many teams and components and just as well in small single page sites. The perfectionist in me says it’s horrible, the I can’t be bothered with frontend design in me says it’s so much less effort and avoids styling conflicts from multiple style sheets&#x2F;components and I don’t care if it’s ugly or against the ethos of good html.