<div class="box">
<p>The big brown dog lazily jumped over the fence.</p>
</div>
p {
width: 10ch;
}
/* PRESENTATIONAL STYLES */
body {
display: flex;
height: 100vh;
}
div {
align-items: center;
background: #fd5a1e;
border-radius: 18px;
color: #fff;
display: flex;
justify-content: center;
margin: auto;
}
.box {
font-size: 20px;
height: 200px;
width: 50%;
}
span {
display: block;
font-size: 1.5em;
}
This Pen doesn't use any external CSS resources.