<div class="parentElement">
  Paragraph 1.
  <div class="childElement">
  Paragraph 2.
    <div class="childElement">
    Paragraph 3.
      <div class="childElement">
        Paragraph 4.
       </div> 
    </div> 
  </div>
</div>
.parentElement {
   font-size: 15px;
 }
 .childElement {
   font-size: 1.5rem;
 }
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.