Why is the span tag aligning to the top when I have only applied properties to the .btn class elements, and not targeted it directly?
.btns {
text-align: center;
}
.btn {
text-decoration: none;
border: 1px solid black;
display: inline-block;
box-sizing: border-box;
border-radius: 5px;
cursor: pointer;
font-size: 18px;
margin: 5px;
padding: 5px;
height: 100px;
width: 500px;
line-height: 2em;
vertical-align: top;
}
<div class="btns">
<span>Lorem ipsum dolor sit amet.</span>
<a href="https://www.google.com" class="btn" id="ggl">button1</a>
<button class="btn" id="fb">button2</button>
</div>