html, body { min-height: 100%; } body { display: flex; flex-direction: column; align-items: stretch; padding: 0; margin: 0; background: navy; }