I do not remember when or how I first encountered the CSS Scroll Snap technique, but when I saw it, one thing came to my mind immediately: can we use this technique to make slides? (Spoiler: the answer later was YES)

If you have not heard of it before, here is a quick introduction on MDN to get you started. Basically, it makes it possible for elements to “snap” as you scroll over them, which means …