html, body { overflow: hidden; height: 100%; margin: 0; padding: 0; } body { position: relative; overflow-y: auto; }