Skip to content

zoom

zoom-in and zoom-out combine an opacity fade with a scale tween. zoom-in starts smaller and grows; zoom-out starts larger and shrinks in.

VariantWhat it does
zoom-inopacity 0 → 1 + scale 0.85 → 1
zoom-outopacity 0 → 1 + scale 1.15 → 1
AttributeDefaultNotes
aa-animate(required)zoom-in or zoom-out
aa-duration(init)seconds — falls back to init({ duration }) (default 0.6)
aa-delay0seconds
aa-ease(init)any GSAP ease — falls back to init({ ease }) (default power4.out)
aa-stagger(off)when set on a parent with children, staggers the children
aa-scrub(off)true or seconds — bind progress to scroll

gsap, ScrollTrigger.

zoom-in
zoom-out
staggered
zoom-in
grid
of
six
cards