How to make so that the page occupies the entire height of the screen?

Hello. How to make a page to be at least the full height of the screen. There med-sks.com.ua/product-category/vse-i-odrazu page where very little content and its height is substantially less than the height of the screen. How to fix this using CSS. I would be grateful for any help
June 5th 19 at 21:01
2 answers
June 5th 19 at 21:03
June 5th 19 at 21:05
I can advise with JS
jQuery(function($){
 function stickyFooter(){
 var footer = $("footer");
 var position = footer.position();
 var height = $(window).height();
 height = height - position.top;
 height = height - footer.outerHeight();
 if (height > 0) {
 footer.css({'margin-top' : height+'px'});
}
}
stickyFooter();
$(window).resize(function(){
stickyFooter();
});
});
In the yard in 2018. Flex than you not pleased? - Lonie.Batz commented on June 5th 19 at 21:08

Find more questions by tags DesignWordPress