10 CSS animation tips and tricks

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUIMotion Design20 min

About this video

A CSS tutorial covering ten animation techniques, including per-state timing functions, keyframe declarations, negative animation delays, prefers-reduced-motion and animating custom properties with @property. It suits people who already write CSS and want to build more expressive interface motion.

What you’ll learn

  • Apply different timing functions to separate animation states
  • Use negative animation delays to start animations mid-cycle
  • Respect user motion preferences with prefers-reduced-motion