How to use the CSS Animation Generator
- Choose a preset — or edit the keyframes directly.
- Adjust duration, delay, easing, repeat count and direction.
- Copy the @keyframes and class.
What does this tool do?
The output includes a prefers-reduced-motion media query so people who get motion sickness can opt out — an accessibility best practice. Animating transform and opacity, as these presets do, keeps animations smooth because browsers can run them on the GPU.
Why use it?
- 13 presets.
- Editable keyframes.
- Reduced-motion ready.
Privacy
Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.
Last reviewed by the M2Toolkit team.