Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

CSS animation studio

Design CSS keyframe animations with a live preview, easing curves and slow motion, then copy clean CSS with a reduced-motion fallback.

Keyframes

How to use

  1. Pick a starting animation, then change it. The box at the top plays your animation.
  2. Each keyframe row says where the box should be at that point (0% is the start, 100% the end): moved, turned, bigger or smaller, see-through, and optionally a colour.
  3. Set how long it takes, how often it repeats, and the easing: how the speed changes along the way. The graph shows the easing curve.
  4. Copy the CSS or save it as a file. Put the class name (for example .bounce) on the element you want to animate.

Keyboard and touch

TabMove across a keyframe row, then to the next
Leave a boxUpdates the preview and the CSS
×Remove that keyframe (at least two stay)

Tips

  • Animating transform and opacity is smooth on every device; the browser does not need to re-arrange the page.
  • Keep interface animations short: 150 to 400 ms feels quick; longer is for attention-grabbing effects.
  • The CSS includes a prefers-reduced-motion block that switches the animation off for people who get dizzy from motion. Keep it.
  • Use slow motion to check bounces and overshoots frame by frame.
  • "Fill: both" keeps the first keyframe during the delay and the last one afterwards: useful for entrance animations.

About this studio

The CSS follows the CSS Animations specification: an @keyframes rule with percentage stops and an animation shorthand (name, duration, timing function, delay, iteration count, direction, fill mode). Easing curves are cubic Bézier timing functions, the same ones browsers use for ease, ease-in and the others, drawn by solving x(t) for each moment of time; steps() jumps in equal steps.

The preview uses the Web Animations API (element.animate), which plays exactly the same keyframes and timing. The starting animations are our own designs. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product