Recently, I revisited my journey of learning HTML and CSS, only to encounter some new challenges that I hadn't faced before. https://i.sstatic.net/PhKVs.png
In particular, I'm grappling with a peculiar issue revolving around a button in my code:
.btn {
display: inline-block;
font-size: 1em;
background: #fff;
padding: 30px 30px;
text-transform: uppercase;
text-decoration: none;
font-weight: 500;
margin-top: 10px;
color: #111;
letter-spacing: 2px;
transition: 0.2s;
}
<a href="#" class="btn">Explore</a>
Everything seems fine, but upon closer inspection, there appears to be an unwanted margin or space at the bottom.
https://i.sstatic.net/Bxq5w.png specifically within the blue square, I aim for the text height to align perfectly at the center.