4 ms·
Inline styles by themselves don't support a lot of necessary CSS things like media and child selectors. You lose the "cascading" part of CSS...
by candiddevmike 3y ago
Inline styles by themselves don't support a lot of necessary CSS things like media and child selectors. You lose the "cascading" part of CSS...
- nwienert 3y agoTry out Tamagui which solves this - child and media selectors, even container queries and stuff like container + pseudo.
- cantSpellSober 3y agoUnclear if they mean inline styles as in "the HTML attribute" or a React prop. Tamagui doesn't solve the former.