I need to make a sticky footer whose height is not fixed. Made with this code:
if ($(document).height() <= $(window).height()) { $("footer.footer").addClass("navbar-fixed-bottom"); }; But there was a problem
I need the background image to be the end of the page, but if I add a height: 100%; block with the background height: 100%; then a vertical scroll appears, so the block becomes the height of the body . How can this be fixed? Location of blocks
body header div class="full-width full-width-bg" //здесь фон footer class="footer "