3 ms·
I do a lot of UI work and have never understood the appeal of Tailwind. It’s like relearning a new language. Tailwind was released in 2017. Maybe the CSS landsc
by brycelarkin 3y ago
I do a lot of UI work and have never understood the appeal of Tailwind. It’s like relearning a new language. Tailwind was released in 2017. Maybe the CSS landscape wasn’t as good back then? Modern CSS is pretty awesome.
I’ve enjoyed using Vanilla Extract https://vanilla-extract.style/ https://vanilla-extract.style/. It’s like css-in-js with none of the downsides as everything gets compiled to css.
- vehemenz 3y agoMost of Tailwind's class names follow a regular pattern and match very closely to the actual property names. It's much closer to learning legal shorthand than a new language.
- pessimizer 3y agoSo what's the savings against using the actual properties?
- leetrout 3y agoClasses vs style properties is the (dis)advantage. I like tailwind so I prefer the class short-hands and composability. Once I hit several styles on an element or obvious component styling (a la "primary-button") I just make a class with @apply.
- vehemenz 3y agoThere's a lot you can't do with inline styles, e.g., media queries.
- satvikpendem 3y agoCheck out Panda CSS as well (https://panda-css.com/ https://panda-css.com/), I've been using both VE and this one, they're both great.