CSS Animation Generator
Create custom CSS @keyframes animations with real-time preview
Animation Properties
Keyframes Timeline
Keyframe Editor
0%Presets Gallery
Preview
CSS Code
๐ 100% private: your data stays on your device
What are CSS @keyframes animations?
CSS @keyframes animations allow you to create smooth animations by defining intermediate states (keyframes) between an initial and final state. Unlike CSS transitions that only handle two states, keyframes provide precise control over the animation at each step of the journey, offering endless creative possibilities for animating your web interfaces.
Features
Keyframe Editor
Add and modify as many keyframes as you want with an intuitive visual editor.
Real-time Preview
Instantly visualize your animation with play/pause controls.
Presets Library
Get started quickly with 20+ ready-to-use animations: bounce, shake, fade, slide...
100% Private and Secure
All processing happens in your browser. Your data never leaves your device.
How to create a CSS animation?
Configure Properties
Set the name, duration, delay, iterations, and timing curve of your animation.
Add Keyframes
Create the key steps of your animation by defining percentages (0%, 50%, 100%, etc.).
Edit Properties
For each keyframe, enable and adjust CSS properties: transform, opacity, colors...
Copy the Code
Preview your animation then copy the generated CSS code into your project.
@keyframes Syntax
@keyframes animationName {
0% { /* styles */ }
50% { /* styles */ }
100% { /* styles */ }
}
The @keyframes rule defines the animation steps. Each keyframe is defined by a percentage (0% = start, 100% = end) followed by the CSS properties to apply. You can use "from" and "to" as aliases for 0% and 100%.
Frequently Asked Questions
Is this CSS animation generator free?
Yes, 100% free and unlimited. No registration required, create as many animations as you want.
Are CSS animations compatible with all browsers?
Yes, CSS animations are supported by all modern browsers. For older browsers, enable vendor prefixes (-webkit-).
Can I create complex animations with multiple keyframes?
Absolutely! You can add as many keyframes as needed to create sophisticated animations with precise movements.
What is the difference between CSS animation and transition?
CSS transitions only handle two states (start/end) and require a trigger (hover, click). @keyframes animations allow you to define multiple steps and can play automatically.
How do I use the generated CSS code?
Copy the code and paste it into your CSS file. Apply the "animated-element" class to the HTML element you want to animate, or modify the selector according to your needs.