So I am making a website and at the bottom of a page it has a slogan. Which in in a div
with custom css (Including top and bottom border
s).
However, the text is centered with css but is isn't centered vertically in between the two border
s.
Here is my code.
#foot {
border-bottom: 6px solid black;
background-color: #9C0002;
font-family: 'Balthazar', serif;
color: black;
text-align: center;
border-top: 6px solid black;
vertical-align: middle;
}
<div class="row" id="foot">
<div class="col-lg-12">
<h2>UNLOCKING YOUR POTENTIAL</h2>
</div>
</div>
Any help would be really appreciated.