Jump to content
Search Community

I need a link to spin when I hover over a box

hellenson
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

hellenson
Posted

Hello,

I am quite new to gsap and I'm trying to make a very simple animation, but can't get it right.

I have a website in which I have boxes/cards, and in those boxes are links. I need the link to spin when I hover over the box. I know I need to make a function and then select the links, but I lost.

Thank you very much for your help

See the Pen JoPaEdO by Helena-Pacltov- (@Helena-Pacltov-) on CodePen.

  • Solution
Posted

Hi @hellenson and welcome to the GSAP Forums!

 

Normally we don't create custom demos for our users, but this was simple enough. For future references, please make the effort to try something before posting here in the forums. We're eager to help as much as we can, but we don't have the time resources to create all the JS logic for you.

 

See the Pen xbKarNy by GreenSock (@GreenSock) on CodePen.

 

Hopefully this helps

Happy Tweening!

  • Like 1

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...