I want to vertical align the text 'SITE NAME' in the green space. It's a H1-text inside a div. The green background is the background of the text and the yellow background is the background of the div with a padding of 5px. I can't solve how to vertical-align the text. I already tried this.
h1 {
text-align: center;
background-color: green;
height: 100%;
vertical-align: middle;
font-size: 25px;
}