Jump to content
Search Community

SplitText Animation

Gourav Mukhija test
Moderator Tag

Recommended Posts

Hello everyone,
I am new to GSAP forum and need some help for SplitText animation .

e.g.
I am trying to showcase Banner Text Line by line where each word is appearing once line is completely visible on screen and words in line follow some delay as per line index (e.g. x * lineIndex + y * wordIndex) and alpha value for words need to change from 0 to 100%.

It would be very helpful if someone can guide me how to do this.

Thanks,

See the Pen PoxxbxQ by Gourav-Makhija (@Gourav-Makhija) on CodePen

Link to comment
Share on other sites

Hi @GreenSock,

Thank you quick response, Above demo is really very helpful. But still I am facing one issue
e.g.
In given updated pin  

x: -80 and x: 0 for lines I am trying to change.
Actual: When user click  on "Animate Text" button then line first move to x: -80 px and then start words animation where words are appearing by fade effect.
Expected: When user click  on "Animate Text" button then line need to appear with word by word fade out text effect and once all the words get displayed on screen only then line need to move from position to 80px right.

Thanks in Advance.

  • Like 1
Link to comment
Share on other sites

Hi,

 

I'm not 100% sure of what you're trying to do here but I believe you are overcomplicating this a bit.

 

Maybe this example is closer to what you're trying to achieve:

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

 

If not, please be as explicit as possible about the effect that you're tying to get.

 

Finally there is no need to combine both opacity and visibility, GSAP has autoAlpha which is a combination of both.

 

Hopefully this helps.

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