shadow dom.css

a CSS reset class name you can add to emulate/polyfill being inside a Shadow DOM from the preventing outside styles from bleeding in.

1
0
CSS

shadow-dom.css

WIP

<style>
  a {
    color: red;
  }
</style>

<a href="#first">first</a>
<div class="shadow-dom">
  <a href="#second">second</a>
</div>