Animation Timing Generator
Free online animation timing generator for developers. Easing/transition curve visualizer. Fast and private.
@keyframes slide { from { transform: translateX(0); }
to { transform: translateX(100px); } }
.animated {
animation: slide 2s ease 0s infinite normal none;
}Embed this tool
Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.
<iframe src="https://www.theutilbox.org/embed/animation-timing-generator" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Animation Timing Generator tool from The Util Box"></iframe> <!-- Free tool by The Util Box — https://www.theutilbox.org/tools/animation-timing-generator --> <a href="https://www.theutilbox.org/tools/animation-timing-generator">Animation Timing Generator by The Util Box</a>
Frequently Asked Questions about Animation Timing Generator
CSS Animation Generator — Keyframes Plus the Shorthand
This CSS animation generator produces a complete, paste-ready animation: a
@keyframes block for the motion and an .animated
class that applies it with the shorthand. You set the animation name, duration, easing, iteration count,
direction and fill mode, and edit the keyframes themselves in the text box below the controls.
@keyframes slide { from { transform: translateX(0); }
to { transform: translateX(100px); } }
.animated {
animation: slide 2s ease 0s infinite normal none;
}
The shorthand order is name, duration, timing function, delay, iteration count, direction and fill mode. Getting the first two the wrong way round — writing the duration where the name belongs — is the classic reason an animation silently does nothing.
Timing, Direction and Fill Mode
- timing function — linear is mechanical; ease, ease-in and ease-out add acceleration; ease-in-out is the safest default for UI.
- iteration — 1, 2, 3 or infinite. Infinite is what you want for spinners and pulses.
- direction — normal, reverse, alternate or alternate-reverse. Alternate is how you get a there-and-back pulse from a single keyframe pair.
- fill mode —
forwardsfreezes the element at the end state after the animation finishes, which is why animations "snap back" when fill is left at none.
One limitation to state plainly: the shorthand the tool prints always includes a
0s delay, because a delay control is not exposed in this version. Add the delay
value manually in the copied CSS if you need one.
Related CSS Generators
- Transform Generator — build the translate/rotate values to put inside the keyframes.
- CSS Filter Generator — animate blur and brightness instead of position.
- Gradient Generator — animated background-position tricks start here.
- CSS Formatter — tidy the stylesheet you paste the animation into.
Generated locally, with no dependencies.