html, html > body { height: 100%; width: 100%; } html > body { display: flex; flex-direction: column; } html > body > section { flex: 1; }