New course, Command Line for Creatives, out now!

How to make a hover slideshow

On the On The Rocks Magazine site, there's a great slideshow effect which changes slide depending on how far across the slideshow your mouse is. We talk about how it's done with a tiny bit of CSS and Javascript

Beginner Beginner

0:00/12:12

January 31st 2018

Playback speed

1.25× 1.5× 1.75×

Skip

−60s −30s −10s +10s +30s +60s