CSS Animation Generator
Pick an animation, tune the timing, and copy complete CSS including the keyframes.
Generated CSS
Every effect here animates only transform and opacity, the two properties browsers can animate on the GPU without recalculating layout. Wrap decorative motion in @media (prefers-reduced-motion: no-preference) so it can be turned off.
About the css animation generator
Choose from common effects (fade, slide, scale, rotate, bounce, shake, pulse and more), adjust duration, delay, easing and iteration count, and watch the result loop in the preview. The output includes both the `animation` shorthand and the full `@keyframes` block, so it works with no further editing. All effects animate `transform` and `opacity` only, which are the two properties browsers can animate on the compositor without triggering layout or paint.
How to use the css animation generator
- Select an animation effect from the list.
- Adjust duration, delay, easing function and iteration count.
- Watch the preview loop to confirm the timing feels right.
- Copy the generated CSS, including the keyframes block, into your stylesheet.