WebCraft

TAG ยท motion

Animation and motion in CSS

Scroll-driven animation, springs, staggered entries, exit transitions and reduced motion, each running live on the page. 13 elements, each rendered live with its source and the one thing that breaks it.

  1. A stagger that survives a new item sibling-index()
  2. Less motion is not no motion prefers-reduced-motion
  3. Animating height to auto, finally interpolate-size
  4. A spring in the easing function linear()
  5. Reveal on scroll, with no observer animation-timeline: view()
  6. An analog clock wound by one line of JavaScript animation-delay: -43200s
  7. The logo that never hits the corner animation + cqw
  8. A progress bar tied to scroll, with no JavaScript animation-timeline: scroll()
  9. A marquee that never jumps translateX(-50%)
  10. A gradient angle that actually animates @property
  11. Animating something in from display: none @starting-style
  12. The exit animation, which is the hard half allow-discrete
  13. Reordering a list without it jumping startViewTransition()