4 ms·
I think people should still think of TW as classes, because they are, and it doesn't need to be more complex than that. Thinking of TW as inline styles is harm
by PUSH_AX 2y ago
I think people should still think of TW as classes, because they are, and it doesn't need to be more complex than that.
Thinking of TW as inline styles is harmful imo, the specificity works differently and there are a number of things that TW offers that isn't possible inline. Plus inline just carries a stigma which helps people dunk unfairly on TW.
- wvenable 2y agoThe selling point of TW is that it is, effectively, styles. That's what distinguishes it from what I could call just normal CSS. It has value over inline styles -- otherwise it wouldn't exist -- but it's still the same principle.