<div class="module">
  <h2>Header</h2>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Optio, dolore eligendi repellendus, delectus animi rem
    ipsum fuga corporis beatae dicta iure explicabo impedit suscipit quidem autem laudantium, quis tempore tenetur?</p>
</div>
.module {
  padding: 1rem;
  background: white;
}
.module h2 {
  background: #90a4ae;
  margin: -1rem -1rem 1rem -1rem;
  padding: 1rem;
}
.module :last-child {
  margin-bottom: 0;
}

body {
  background: #ddd;
  margin: 1rem;
  padding: 1rem;
  max-width: 400px;
  margin: 2rem auto;
  font-family: "Open Sans", sans-serif;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.