CSS Animation Generator
Pick an animation, set timing and copy the @keyframes and CSS.
Enter your values
Result
CSS
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-25%); }
}
.animate-bounce {
animation: bounce 1s ease 0s infinite normal both;
}- HTML
- <div class="animate-bounce">…</div>
animation: name duration easing delay iteration-count direction fill-mode. 'both' keeps the first and last frames applied before and after the animation runs.
Live preview
How to use CSS Animation Generator
- Enter animation, duration and delay.
- The result updates instantly as you type, with no button to press.
- Read the formula box to see how it was calculated, then copy the result.
Features
- Instant results
- Results update as you type, with no Calculate button and no page reload.
- Formula explained
- See exactly how the answer is worked out, so you can check it or learn the method.
- Private & free
- Everything runs in your browser. Nothing you enter is uploaded or stored.
Frequently asked questions
How does the CSS Animation Generator work?
It uses this method: animation: name duration easing delay iteration-count direction fill-mode. 'both' keeps the first and last frames applied before and after the animation runs.
Is this CSS Animation Generator free?
Yes. It is 100% free, needs no sign-up and works on mobile and desktop. Your numbers never leave your device.
Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.