Bulbasaur can be seen napping in bright sunlight. There is a seed on its back. By soaking up the sun's rays, the seed grows progressively larger.
Type:
Play with the options above to see how it affects the animation and the code below. Click any box to have the stagger emanate outward from that specific index number, using the from:[index]
syntax.
gsap.to(".box", {
duration: 1,
scale: 0.1,
y: 40,
ease: "power1.inOut",
stagger: {
grid: [7,15],
from: "center",
amount: 1.5
}
});