Jump to content
GreenSock

Cureosity

Reval the div underneath with mousemove

Recommended Posts

Sure, it all seems very possible with enough custom code. I haven't really looked into it, but maybe plop one big <div> on top of the normal page content, and then use pointermove/mousemove events to affect the width, and have overflow: hidden on it. 

 

Good luck! We're happy to answer any GSAP-specific questions here (please read the forum guidelines)

 

This article may or may not help: https://www.motiontricks.com/before-and-after-svg-slider/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×