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...
На этой странице сайта вы можете посмотреть видео онлайн Update Page Height with Javascript + CSS Variables длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Coding in Public 20 Июль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,664 раз и оно понравилось 40 зрителям. Приятного просмотра!