Came across this today, which I though was a very cool tutorial, based on a css-tricks article.
The Codepen is here
The original article is here
Apparently based on the comments on the article some have tried doing this with video, but its laggy. So someone made a tool that will strip the images from the video.