Jump to content
Search Community

Mouseover multiple elements

Stefano81 test
Moderator Tag

Recommended Posts

Hi all.

I'm pretty new about Gsap and I'm stuck in the first hard (for me) use of it.

 

I have some elements (divs containing one image each).

I'd like that on mouseover canvas, every elements move in the same direction.

 

I'm trying to create something similar to this page:
https://www.powerhouse-company.com/

 

I've tried the solution I found in this post:

 

But I'm not able to propagate the effects to multiple elements (divs I was talking about).

Could anyone help me please?

 

Thank you so much for your attention.

 

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.

 

Please create a live reduced sample in Codepen in order to see what you're trying to do.

 

The website you post is quite complex and requires a lot of coding to achieve that, so is not the easiest task.

 

Please have a look at this post:

 

 

Happy Tweening!!!

  • Like 3
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.
×
×
  • Create New...