3 ms·
So what's the savings against using the actual properties?
by pessimizer 3y ago
So 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.