Streaming live at 10am (PST)

Before after Slider with Parallax Effect

Hello everyone,

I’d like to build a before after slider like on the following site:

My Problem is, that I don’t know how to make the elements movement ( parallax) , when mouse hover or sliding.
I guess every element has to be a single picture, which can be animated. For making the slider I gave one side a z-index of 10 and one a z-index of 20, I can only put elements between this indexes. In fact I can only put elements on one side…

The basic structure for the before after slider I got from :


Read-only link:

Does anybody know how to get this done?