I tried messing around with absolute and relative positioning, but I could not figure out how to keep the LinkedIn and Github link in the bottom left, while keeping the contact info in the bottom right.
<footer>
<h2 style="text-align: left;">Links</h2>
<ul style="text-align: left;">
<li><a href="https://www.linkedin.com/in/akshay-subramaniam-404b76223/" target="_blank" title="LinkedIn">LinkedIn</a></li>
<li><a href="https://github.com/akshaysub" target="_blank" title="GitHub">GitHub</a></li>
</ul>
<div>Contact Information:
<address>
<a href="mailto:[email protected]">[email protected]</a>
<br>
<a href="tel:+17034794766">(703)-479-4766</a>
</address>
</div>
</footer>
footer {
position: relative;
}
footer div {
position: absolute;
text-align: left;
bottom: 0;
right: 0;
}
2
Answers
Try this out in your css it might help.
You can use flex instead of absolute position:
HTML:
CSS: