Jump to content
Search Community

Responsive Split Text animation

Timmons test
Moderator Tag

Recommended Posts

Hello,

 

I'm using SplitText to add animation to lines of text based on the following example:

 

gsap.from(split.lines, {duration: 1, x: 200, autoAlpha: 0, ease: "power3", stagger: 0.05});

 

The animation is working as expected. However, as the text is split into separate tags it means that it's not responsive and leaves whitespace (which is shown in the gsap example).

 

Is there any way around this? 

 

Any help would be appreciated.

 

Thanks

See the Pen pEKYVz by GreenSock (@GreenSock) on CodePen

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