Y
Hacker News
new
|
ask
|
show
|
jobs
by
candiddevmike
933 days 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...
1 comments
nwienert
933 days ago
Try out Tamagui which solves this - child and media selectors, even container queries and stuff like container + pseudo.
link
cantSpellSober
933 days ago
Unclear if they mean inline styles as in "the HTML attribute" or a React prop. Tamagui doesn't solve the former.
link