<div class="root">
  <p>これは赤色</p>
</div>
@scope (.root) {
  p {
    color: red;
  }
}

p {
  color: blue;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.