Nope. Try it!
Because now you assume you control the whole page's CSS. SD lets components isolate *themselves*.
-
-
Since `all:initial` resets styles affecting the component from outside of the component `.ns`, this should also apply to the example, right?
-
/and since the namespace is generated by the preprocessor, all selectors within the component should not affect the reset of the page.
- 22 more replies
New conversation -
-
-
...and nothing about their styles needs to bleed into the external environment. Fundamentally less risky (also faster to boot!)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.