html{ font-size: 20px; } body { margin: 0; } ul, li { margin: 0; padding: 0; list-style: none; } .switcher { width: 100vw; height: 100vh; overflow: hidden; } .switcher li { width: 100vw; height: 100vh; overflow: hidden; } .switcher li:nth-of-type(2) { overflow-y: scroll; }