DEV Community

Sooraj (PS)
Sooraj (PS)

Posted on

Animated Buttons using Javascript (GSAP) - 1

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.

Top comments (1)

Collapse
 
tirtharajsinha profile image
Tirtharaj Sinha

Cool!