Pan Image js and css with "mascara" on top

0

I'm using a js script to do a "pan image" effect by following the following link:

link

The first list has an image above and so it does not work .. the bottom one is the effect I want, but I need the image to make a "mask".

Is there any configuration in js so that the effect works by moving the mouse without being on top of the image?

I left all css and js code in html for easy viewing.

    
asked by anonymous 15.02.2016 / 18:07

1 answer

0

Solved, I used the after pseudo-element and it worked. I'll take the test out of the air.

Thank you to anyone who has seen it!

    
15.02.2016 / 19:45