Jump to content
Search Community

Scale pulse text on appear

Alan Kell 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

Hi,

 

I wonder whether somebody can help me with something I’m struggling to figure out? I have a text element in an SVG object that has a transform applied to it. I am trying to make this text fade in, grow to about 2.5 times it’s final size in scale, then shrink back to it’s normal size - so that it looks like it’s pulsing/bouncing into view.

 

The fade in the attached CodePen example comes in fine, but the scale doesn’t seem to work. I’m guessing this is because there’s already a transform applied to the item, but am not sure. I’ve slowed the attached CodePen down to see what’s going on, but the final effect I’m going for is text springing into view to draw attention.

 

Any help that anybody could give would be gratefully received!

 

Thanks in advance,

Al

See the Pen LXBvmK by alan-kell (@alan-kell) 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...