html { height: 100%; } body { min-height: 100%; display: flex; flex-direction: column; } .footer-push { flex-grow: 1; }