2 ms·
Most 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
by vehemenz 3y ago
Most 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.