Jump to content
Search Community

Split Text Revel Cut Off by Overflow:Hidden

Stefano Monteiro test
Moderator Tag

Recommended Posts

 

Ah Awesome.

 

I did find another solution too. I changed the tween to .from to .fromTo and move the chars a little higher than 0.

 

//Older Code
.from(
      elements.text,
      {
        duration: 2,
        yPercent: 80,
        stagger: 0.05,
        ease: "power3.inOut",
      },
      ">-1.5"
    );


// New Code
.fromTo(
      elements.text,
      {
        yPercent: 80,
      },
      {
        yPercent: -5,
        duration: 2,
        stagger: 0.05,
        ease: "power3.inOut",
      },
      ">-1.5"
    );

 

 

Thanks

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