blob: 110e2f517343ece5c573675735ebff6a7502960d [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<style>
.verticalGallery {
width: 100vw;
height: 600vh;
margin: 0;
padding: 0;
scroll-snap-type: y mandatory;
}
.colorBox {
height: 100vh;
width: 100vw;
float: left;
scroll-snap-align: start;
}
#item0 { background-color: red; }
#item1 { background-color: green; }
#item2 { background-color: blue; }
#item3 { background-color: aqua; }
#item4 { background-color: yellow; }
#item5 { background-color: fuchsia; }
</style>
</head>
<body class="verticalGallery">
<div id="item0" class="colorBox"></div>
<div id="item1" class="colorBox"></div>
<div id="item2" class="colorBox"></div>
<div id="item3" class="colorBox"></div>
<div id="item4" class="colorBox"></div>
<div id="item5" class="colorBox"></div>
</body>
</html>