All Tools

CSS Animation Generator

Build CSS @keyframes animations interactively. Edit keyframe stops and properties, set duration, timing function, delay, and iteration count — then copy the ready CSS.

Keyframes:

Preview

Generated CSS

Tips & tricks

  • Use transform and opacity for the smoothest animations — they skip layout recalculation.
  • Setting fill-mode: forwards keeps the element in its final keyframe state after the animation ends.
  • alternate direction plays forward then backward — ideal for looping effects without a jarring jump.
  • cubic-bezier lets you craft custom easing beyond the built-in presets.
  • A delay of 0s with multiple animated elements and staggered delays creates sequence effects.