Free Online CSS Animation Generator
Set the start, middle and end state of an element, watch it animate, and copy the @keyframes CSS.
How to use the CSS Animation Generator?
Set Global Settings: Adjust duration, easing, and iteration count.
Configure Keyframes: Set Start (0%), Mid (50%), and End (100%) states.
Preview & Copy: Watch the preview box and copy the CSS code.
Tip:
Use "Alternate" direction for smooth back-and-forth movements, and "Ease-in-out" for natural animations.
Key Features
- Three keyframes: 0%, 50% and 100%
- Move, scale, rotate and opacity controls
- Duration, easing, repeat and direction options
- Live preview and copyable CSS
Frequently Asked Questions
What are @keyframes in CSS?
Keyframes let you set the styles an element should have at points along an animation, for example its position, rotation and opacity at 0%, 50% and 100%. The browser fills in the steps between them.
Will this animation slow down my site?
Usually not. This tool animates only transform and opacity, which browsers can normally handle smoothly without redoing the page layout. Performance still depends on the device and on how many elements you animate.