DEV Community

Discussion on: Less annoying CSS in React with CSS modules

Collapse
 
oenonono profile image
Junk

FYI, CSS is no longer globally scoped. You can create isolated CSS scopes in the DOM. This has been true for years now. Please stop spreading misinformation.

Collapse
 
fawazsullia profile image
fawazsullia

Thanks for letting me know. Can you reference something pointing to it? because i couldnt find much.
Also, would appreciate if your tone was a bit friendly

Collapse
 
oenonono profile image
Junk • Edited

Try looking up "Shadow DOM." MDN and Google Web Dev docs will be good sources. I believe CSS Tricks also has some good articles.