Pan Image js and css with "mask" on top

Asked

Viewed 105 times

0

I am using a js script to make a "pan image" effect as the following link:

http://gdebrasil.com.br/test/

The first one listed has an image on top and so it doesn’t work.. the bottom one is the effect I want, but I need the image making a "mask".

Has some setting in js for the effect to work with the mouse movement without being on top of the image?

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

1 answer

0

Solved, I used the pseudo-element after and it worked. I’m taking the test off the air.

Thanks to those who viewed!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.