I would like to achieve a simple animation, like the one on this landing page:
https://www.ill-studio.com/
I know it’s doable with simple vanilla JS, but I can’t get my head around it.
While pressing down the mouse, the image freezes and an overlay appears. I guess I could apply the same concept to sequences of different videos.
Either the image sequence keeps going (not detecting mouse pressed down) or I can’t figure out if it’s better to put the image sequence as different imgs in a div or as img-background in CSS.
doorOpener88 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.