<div class="parent">
  <p>This is red</p>
  <p class="alt">This is blue, because it reverts to the parent</p>
</div>
.parent {
  color: blue;
}
p {
  color: red;
}
.alt {
  color: revert;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.