Kevin Powell - CommunityKP-C
Kevin Powell - Community4y ago
53 replies
Dante

Center my footer within main element

so basically, I want my footer and main both to be included within 100viewport height, whilst also putting the footer and the very bottom of the viewport height.
I tried adjusting the main's vh to somewhere between 90-100 to get the footer inside the view but ofc it wouldn't work if we resize the windows vertically
below is the link for the code
https://codepen.io/kaedaDante/pen/jOxwqxr
Was this page helpful?