Skip to content
ZeroServer.tools

CSS Animation Generator

Build @keyframes animations and copy the CSS, with a live preview.

1s
0s
Live preview
CSS
@keyframes myAnimation {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animated {
  animation: myAnimation 1s ease 0s infinite;
}

How CSS @keyframes animations work

A CSS animation has two parts: a @keyframes rule that describes what changes over time, and the animation shorthand that attaches it to an element with a duration, timing function, delay, and iteration count. Pick a preset above to see the keyframes and tweak the timing — the preview updates live, and everything runs in your browser.

More CSS tools: the transition generator, the transform generator, and the loader generator.

Related Design & CSS tools