Update Page Height with Javascript + CSS Variables

preview_player
Показать описание
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.

Рекомендации по теме
join shbcf.ru