Now, change the font-size from px to 50px and the div seems to be working the way I inteded it to.
How to keep your footer where it belongs 👣
Sign up or log in Sign up using Google. Learn more about the situation here. Post as a guest Name. It's positioned relative to its parent. A fixed element does not leave a gap in the page where it would normally have been located.