Keyframe Animation Generator
Create CSS keyframe animations visually with live preview and instant code export.
Runs on this device · 0 B uploadedPreset animations
Animation settings
Keyframes (2)
Live preview
Preview
Timeline1s
Generated CSS
@keyframes my-animation {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.animated-element {
animation: my-animation 1s ease-in-out infinite alternate;
}Writing smooth keyframes
from equals 0% and to equals 100%. Animate transform and opacity where you can, because animating layout properties costs more to render.
Using the output
The CSS contains an @keyframes rule and an .animated-element class. Add that class to your element, or copy its animation line into your own selector.