DEV Community

loading...

Animated Buttons using Javascript (GSAP) - 1

soorajsnblaze333 profile image Sooraj ・1 min read

Hey there guys,
Here is a small animation ripple effect I created using gsap. I created this using just an event listener and a <span> tag along with the gsap fromTo() method. This is just one of the cool animations you can create.

Furthermore, you can stagger up your animations by using the stagger property. Stagger will basically run your animations which come under the same property, for example multiple ripples, to run sequentially with a small delay in between them, like this.

Discussion (1)

pic
Editor guide
Collapse
tirtharajsinha profile image