Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kaeshiwaza
on Jan 23, 2025
|
parent
|
context
|
favorite
| on:
Tailwind CSS v4.0
Locality of behavior can be done with few lines of js.
https://github.com/gnat/css-scope-inline
vim-guru
on Jan 23, 2025
[–]
I assume that you don't even need javascript after a few releases of Firefox. All other major players support scoped styles.
https://developer.mozilla.org/en-US/docs/Web/CSS/@scope
https://caniuse.com/?search=%40scope
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: