I am trying to center the contents of my footer vertically, but I can not seem to do so.
Here is what it looks like: Bad Footer
This is what I want it to look like: Good Footer
Here is my current HTML and CSS code:
<div class="footer">
©2023 First Last
<a href="#top">Go Up</a>
<a href="https://github.com/"><img src="../static/GitLogo.png" alt="my github"></a>
</div>
.footer{
background-color: #252525;
position:absolute;
top:250%;
left:0;
width:100%;
height: 5%;
overflow: hidden;
z-index: 999;
color: #C967F0;
text-align: left;
}
.footer a{
font-size: 1vw;
color: #C967F0;
margin-left: 35%;
}
.footer a img{
width: 2%;
height: 70%;
padding: 0.5% 0.8%;
}