粘滞的页脚与固定的导航栏

Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with padding-top: 60px; on the body > .container.

也可以 使用简单的粘脚