<p class="text">10px of padding on the top. 30px of padding for the left and right sides. 50px of padding for the bottom.</p>
.text {
  margin: auto;
  font-size: 20px;
  text-align: center;
  width: 30%;
  border: 2px solid red;
  padding: 10px 30px 50px;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.