<section>
<p class="intro blue">
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet nulla nunc. Quisque mi, varius ac suscipit a, bibendum ut tellus. Morbi mollis diam vel libero vestibulum, at congue turpis imperdiet.
</p>

<p class="intro">
  Donec vestibulum convallis mauris a eleifend. Duis a turpis et sapien maximus rhoncus. Morbi at nunc ultricies, rutrum velit et, porta magna. Nunc non leo mattis, mollis mauris eu, facilisis est. Vestibulum viverra urna efficitur bibendum consectetur. Phasellus aliquet ac tellus quis tristique. Fusce fermentum venenatis dolor, id ultrices tellus condimentum vel. Donec elementum in purus vitae tristique. Etiam luctus lorem non nibh pretium volutpat a at libero.
</p>
</div>
</section>

/*CSS for elements with the .intro class */
.intro {
  font-family: sans-serif;
}

/*CSS for elements with the .blue class */
.blue {
  background-color: #799FE5;
}

/*CSS for elements with both the intro and blue classes */
.intro.blue {
  padding: 1em;
  font-size: 1.3em;
}

/* this is just to keep the demo area small */
section {
width: 50%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.