Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
earthnail
· 2y ago · 0 comments
Tailwind limits the scope of your rewrite problem to the element you want to change. No fears about side effects on other parts of the page.
Comments
[–]
silentfrost
2y ago
Wouldn’t using @scope or CSS modules resolve that problem?
[–]
fock
2y ago
so if I write into "style", I have all advantages of tailwind?
[–]
WA
2y ago
No. There is no inline style for @media, :hover etc.
[–]
zarathustreal
2y ago
Also inline styles are not GPU accelerated like CSS classes are, so there’s a performance difference too