4 ms·
> the site docs garnering traffic (beyond potential tailwind labs conversions) is more of an indicator of a code or design smell than anything I've heard this
by sodapopcan 10d ago
> the site docs garnering traffic (beyond potential tailwind labs conversions) is more of an indicator of a code or design smell than anything
I've heard this before, but it's really no different than vanilla CSS. My guess is that people started pointing this out is that Tailwind got more non-frontend people digging into styling more where they were hit with how much shit there is in CSS.
- eudamoniac 9d agoFor me I know CSS quite well, but I would always have to look up some utility names that had no intuitive mapping. line-height is leading, flex-direction has no direct mapping, text-wrap is text but also font size is text, so if trying to do font-size:custom you had to do some weird syntax unlike the other custom value syntax lest it confuse text-[1rem] with a text-wrap rule. There are a lot of these weird decisions. I love tailwind and will continue to use it, but it isn't perfect in this regard...
- sodapopcan 9d agoAll good points. To be clear, though, I wasn't trying to insinuate that Tailwind has NO design smells. I also like Tailwind, though I don't really use it anymore.
- nsonha 9d ago> it's really no different than vanilla CSS Is this supposed to be a plus? When you have indirections they're supposed to provide some abstraction and the abstraction might or might not provide the utilities you desire, but there is a point to it. A near 1:1 mapping is completely useless and just a different syntax for the sake of it.
- sodapopcan 9d agoBut that's not quite what it is, though.