Tailwind Isn't for Me
spicyweb.dev
Tailwind Isn't for Me
1–10 of 191 posts
Re: Tailwind Isn't for Me
#2Mainly that its polluting the HTML so much. I went the opposite route and am using PicoCSS now which works with semantic tags and can even work without any classes. Feels much cleaner
Re: Tailwind Isn't for Me
#3The author says this about using @apply:
> Therefore, it’s simply the truth that CSS files built for Tailwind are non-standard (aka proprietary) and fundamentally incompatible with all other CSS frameworks and tooling. Once you go Tailwind, you can never leave.
How true is this? At worst you could use your output.css and at best I'd expect an automated tool that could do this conversion.
Re: Tailwind Isn't for Me
#4This is a hill I will die on: Blog posts should have a date at the top.
Re: Tailwind Isn't for Me
#5"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."
Re: Tailwind Isn't for Me
#6Re: Tailwind Isn't for Me
#7Re: Tailwind Isn't for Me
#8That's why there is this endless flow of snake oil frameworks like Tailwind and all the others.
People see some fancy demos and think "wow, so cool so easy" and "This is the newest framework, so it must be the best" and go for it.
Then over time, they get caught in a web of problems that the complexity of the framework produces.
Then a few people go for the vitamins route (plain html+css+js) and most go for the next painkiller on the market.
Re: Tailwind Isn't for Me
#9And yeah. That that is seemingly not an eyesore? It's not because Tailwind is bad and "pollutes HTML". It's because web components hide any and all ugliness from you so that you can pretend they are beautiful.
Because in the end there's literally nothing on the web but divs and spans
[1] From web component report by people making them: https://w3c.github.io/webcomponents-cg/2022.html
It's worth noting that many of these pain points are directly related to Shadow DOM's encapsulation. While there are many benefits to some types of widely shared components to strong encapsulation, the friction of strong encapsulation has prevented most developers from adopting Shadow DOM, to the point of there being alternate proposals for style scoping that don't use Shadow DOM. We urge browser vendors to recognize these barriers and work to make Shadow DOM more usable by more developers.
Re: Tailwind Isn't for Me
#10Tailwind removes the thinking around CSS, naming, preprocessors etc etc, it just lets me write good CSS and focus on components and other engineering problems.
I seem to be one of the few people who can read CSS properties horizontally as well as vertically, so I'm all good on most peoples major complaint.