My footer isn't sticking to the bottom

I have a contact page. Now i know my main isn't filling the space but i assumed the footer will be the last element but there's a space after the footer which i don't want. This is the code pen : https://codepen.io/oti-adjei/pen/yLwLGze
5 Replies
clevermissfox
clevermissfox13mo ago
You could use position absolute or grid/flex on the body with align-self: end
Benji598
Benji59813mo ago
I wrapped the content in a display grid and applied a margin-top: auto; to your footer tag forcing the footer to the bottom. I wouldn't use position absolute as it will take it out of the flow of the document 😉 hope this helps I add comments in so you can see what I did 😉
Hungry🐻
Hungry🐻OP13mo ago
Benji598
Benji59813mo ago
no worries my friend
Want results from more Discord servers?
Add your server