Jump to content
Search Community

Initial Text opacity to zero, then opacity to 1 after a delay

nthony test
Moderator Tag

Recommended Posts

What are you referencing with:

9 minutes ago, nthony said:

I need the text to be initial have an opacity of 0 then only want the opacity to change to 1 only after a delay.

 

Because right now you're animating blocks and do nothing with text opacity. 

 

Have you seen the following post, this is a really great tool to have in your belt when working with GSAP 

 

I was wondering, why you would have to first block change size with `width`, because all the others use scaleX and this is much more performant. 

 

Link to comment
Share on other sites

Thanks,

 

I am controlling the player, so animation is initially in a paused state, so I do not need to worry about the flash as described in video.

 

What I am trying to find a better way of text to hidden until the block is fully shown, then the text content opacity will be 1. Then when the block is moving to right the text should be visible, just like in the example.

 

 

Link to comment
Share on other sites

Hi,

 

Just like @mvaneijgen I'm a bit confused about what you intend to do.

 

  1. Do you want to animate the opacity of each letter as the colored blocks are moving to the sides?
  2. Do you want to move the blocks completely to the sides and only when that animation is completed animated the text from opacity 0?

Assuming that you're after the second option, here is a fork of your codepen:

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

 

If this is not what you want to do, please be specific about your project's needs and the current issue you're having.

Happy Tweening!

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