CSS Animation Generator

Pick an animation, then adjust duration, delay, easing, direction and repeat count. The preview loops so you can judge the motion before copying the keyframes.

Last updated: · Runs 100% in your browser

// controls
1.2s
0s
Live preview
Generated CSS
.animated {
  animation: bounce 1.2s ease-in-out 0s infinite normal both;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-40px); }
}

@media (prefers-reduced-motion: reduce) {
  .animated { animation: none; }
}

// Example output

.animated {
  animation: bounce 1.2s ease-in-out 0s infinite normal both;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-40px); }
}

@media (prefers-reduced-motion: reduce) {
  .animated { animation: none; }
}

// Features

  • ▸6 animation types
  • ▸Duration and delay
  • ▸Easing, direction and iterations
  • ▸Complete @keyframes output
  • ▸Reduced-motion friendly

// How to use

  1. 01Adjust the controls on the left or pick a preset to start the CSS Animation Generator.
  2. 02Watch the live preview update instantly as you change each setting.
  3. 03Fine-tune the generated CSS by hand in the code panel if you like.
  4. 04Click Copy CSS or Download CSS, or Share to send a link to your design.

// FAQ

Your data never leaves your browser. This tool runs 100% locally — no upload, no logging, no analytics on your inputs.

// Related tools