Jump to content
Search Community

SplitText Menu

fernandocomet
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

fernandocomet
Posted

I am trying to do a Menu with an hover and a mouse leave functionality, using also SplitText.

Works well for one item but when there are many and you move the mouse fast, it breaks

I have tried killing the tweens but not working

See the Pen jEExWGK by fernandocomet (@fernandocomet) on CodePen.

mvaneijgen
Posted

Next to that check out @Carl's amazing tutorial creating distinct enter and leave animations

 

Hope it helps and happy tweening! 

 

 

fernandocomet
Posted

I see, works better with one timeline 

See the Pen wBBEERG by fernandocomet (@fernandocomet) on CodePen.

 

Not sure why I don't see the titles once page is loaded

  • Solution
Rodrigo
Posted
5 hours ago, fernandocomet said:

Not sure why I don't see the titles once page is loaded

That's because you have a from instance that is rendered immediately at the start of the Timeline. Better use a to instance with advanced staggers in order to repeat each character animation, something like this:

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

 

Play with different values and see what cool effect you cab achieve:

https://gsap.com/resources/getting-started/Staggers#advanced-configuration

 

Great animation by the way, love to see creative folks doing their thing! 💚

 

Happy Tweening!

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