<div class="parentElement">
  Paragraph 1
  <div class="childElement">
  Paragraph 2
  </div>
</div>
.parentElement {
   font-size: 30px;
 }
.childElement {
   font-size: 2em;
 }
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.