<div class="card">
  <p>text in card</p>
 </div>

<p>
  other text
</p>
@scope (.card) {
  p {
    color: red;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.