Jump to content
Search Community

Ease not working

nicoladelazzari test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I don't know anything about the charming script you're using, but it looks like it isn't splitting your text into <span> tags. Here's a fork of your pen using SplitText. 

 

See the Pen QVdZyE by PointC (@PointC) on CodePen

You can see that everything is working fine. SplitText makes this type of animation super easy and is loaded with great features.

https://greensock.com/SplitText

 

It is a Club plugin. More info:

https://greensock.com/club

 

Happy tweening.

:)

 

  • Like 3
Link to comment
Share on other sites

I should also note, the way you have this structured with the tween in the event handler, your tweens can get 'stuck' with rapid hovering. It's usually best to create a timeline and play()/reverse() it on mouse enter/leave.

 

Happy tweening.

:)

  

  • Like 2
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...