Looking to place text in the center of a colored box? Although attempting to center the text, you may find that it remains towards the top rather than in the middle of the box. How can you shift the text down so it aligns with the middle of the background color? Is there an alternative to using a background color for this purpose?
h1 {
font-family: 'Montserrat', sans-serif;
background-color: #C28FE2;
text-align: center;
width: 500px;
height: 100px;
}