← All Tools

CSS Animation Builder Formatter🔒 100% local

Build CSS animations visually. Privacy-first, no server uploads, no tracking.

Related Tools

Border Radius PreviewBox Shadow GeneratorCode Heatmap

Turns a one-line shorthand into a @keyframes block plus the rules that use it. The input is name, duration, timing-function with an optional delay and iteration-count; the name is matched case-insensitively against fourteen presets (fadein, fadeout, slideup, bounce, pulse, spin, shake, wobble, flip, zoom-in and others) and the matching keyframes are printed. A name with no preset gets a scaffold instead of an error. Nothing is applied to the page.

How to use it

  1. Type name, duration, timing - for example fadeIn, 1s, ease - and press Process.
  2. Read the emitted @keyframes block, then the .animated rule with the animation shorthand and the will-change hint.
  3. Check the longhand breakdown underneath to see what the shorthand expands to, and the performance notes for which properties are animating.
  4. Add a fourth value for delay and a fifth for iteration-count when you need them, for example spin, 2s, linear, 0.5s, infinite.

Worked example

fadeIn, 1s, easebecomes@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .animated { animation: fadeIn 1s ease both; will-change: opacity; transform-origin: center; }

The box also prints a longhand breakdown, two performance notes and a reuse line around this CSS.

spin, 2s, linear, 0.5s, infinitebecomes.animated { animation: spin 2s linear 0.5s infinite both; will-change: transform; transform-origin: center; }

With a delay and an iteration count, the shorthand carries all five parts in order and the fill mode still trails them.

glow, 1s, easebecomesNo preset keyframes named "glow". Available: fadein, fadeout, slideup, slidedown, slideleft, slideright, bounce, pulse, spin, rotate, shake, wobble, flip, zoom-in Or write your own - generic scaffold: @keyframes glow { from { /* starting state */ } to { /* ending state */ } }

An unknown name is not an error, but most of the output (timing, duration, the shorthand) is not produced for it.

When to use it

What it does not do