How this animation works
Click-driven rotary card carousel.
- Trigger
- clicks — prev/next arrows, an index rail, or clicking any side card rotates it to the front.
- Motion
- the active card sits centered at full scale while neighbors fan out to the sides, scaling down, fading and stacking behind by depth; each rotation animates with a smooth ease and wraps around the ring. Not scroll-bound — a self-contained interactive section.