Runs in your browser — nothing is uploaded
How to use CSS Animation Generator
Choose an animation and its timing, preview it, and copy the @keyframes and animation CSS.
- Adjust the controls — the preview updates live.
- Copy the generated CSS.
- Paste it into your stylesheet.
About CSS Animation Generator
A CSS animation pairs an @keyframes rule with the animation property, which sets the duration, delay, easing, repeat count and direction.
Presets cover fades, slides, zooms, bounces, pulses, spins and shakes. The generated CSS ends with a prefers-reduced-motion rule that turns the animation off for visitors who ask their system for less motion.
Questions
Which properties animate most smoothly?
transform and opacity. Animating width, height or top makes the browser recalculate layout on every frame.
How do I make an animation play once?
Set the repeat count to 1; choose infinite to loop.