Animate multiple elements with perfect timing
Simple stagger with fixed delay between each element
gsap.to('.item', {
scale: 1,
opacity: 1,
duration: 0.6,
stagger: 0.1 // 0.1s delay between each item
});
Control stagger direction, distribution, and timing
Stagger from center with custom timing
Distributed evenly across total duration
Grid-based staggering for layouts
Custom easing per element
Function-based control
Random stagger timing
gsap.to('.card', {
y: 0,
opacity: 1,
duration: 0.6,
stagger: {
amount: 1.5, // Total stagger time
from: 'center', // 'start', 'center', 'end', 'edges', 'random'
grid: [3, 2], // For grid layouts [rows, cols]
ease: 'power2.out'
}
});
Scroll to see the background move and change color!
The texture pattern helps visualize the parallax effect
Perfect for card grids and layouts
Top Left
Top Center
Top Right
Middle Left
Middle Center
Middle Right
gsap.to('.card', {
scale: 1,
opacity: 1,
duration: 0.5,
stagger: {
grid: [2, 3], // 2 rows, 3 columns
from: 'center',
amount: 1
}
});