We’ve all had those websites that have a floating footer. As long as you have enough content on the page, it looks great, but for shorter pages or taller screens, your page doesn’t take up the full page height.
I use a single class and about 9 lines of Javascript to always make sure all of my pages always take up the full page height on any device.
Codepen: https://codepen.io/Coding-in-Public/p...
En esta página del sitio puede ver el video en línea Update Page Height with Javascript + CSS Variables de Duración hora minuto segunda en buena calidad , que subió el usuario Coding in Public 20 julio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,664 veces y le gustó 40 a los espectadores. Disfruta viendo!