<div class="container">
  <p>Paragraphs are block by default.</p>
  <p>They display one after the other in the block direction.</p>

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 40px;
  font: 1.2em 'Open Sans', sans-serif;
  background-color: #fff;

h1, h2, h3 {
  font-family: 'Averia Serif Libre', cursive;

.container {
  background-color: #ddddda;
  height: 720px;
  width: 1280px;
  padding: 20px;
  padding: 250px 180px 20px 180px;

.container > * {
  background-color: #fff;
Run Pen

External CSS

  1. https://fonts.googleapis.com/css?family=Averia+Serif+Libre|Open+Sans&amp;display=swap

External JavaScript

This Pen doesn't use any external JavaScript resources.