Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
NasKadir

How to move block on mouse position?

Go to solution Solved by GreenSock,

Recommended Posts

Hey!

I'm trying to recreate this menu https://www.steven-hanley.com/

So when you hover on the navigation and move mouse from right to left or opposite, menu starts to scroll.

 

I saw in the forum a codepen with exactly the same vertical effect using gsap, but I've tried to find it all day and nothing.

Can someone give me advice from where should I start, please?

 

Link to post
Share on other sites
1 hour ago, AslanGoi said:

Hey!

I'm trying to recreate this menu https://www.steven-hanley.com/

So when you hover on the navigation and move mouse from right to left or opposite, menu starts to scroll.

 

I saw in the forum a codepen with exactly the same vertical effect using gsap, but I've tried to find it all day and nothing.

Can someone give me advice from where should I start, please?

 

Finally, I found it

See the Pen QjzZpO by jonathan (@jonathan) on CodePen

Link to post
Share on other sites

You might want to consider this approach (related thread): 

 

  • Like 2
  • Thanks 1
Link to post
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.

×