<p class="text">20px of padding-bottom</p>
.text {
/*margin auto will center the text in the middle of the page*/
margin: auto;
font-size: 20px;
text-align: center;
width: 30%;
border: 2px solid red;
padding-bottom: 20px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.