/
Toolexe Menu
Resources Hub
Discover Tools
Resources Hub
Discover Tools
CSS Animation Generator
Create custom CSS animations with keyframes and timing controls
Animation Controls
Animation Name
Animation Type
Fade In
Fade Out
Slide In
Slide Out
Bounce
Pulse
Shake
Rotate
Scale
Flip
Swing
Custom
Custom Keyframes
Add Keyframe
Duration:
2s
Timing Function
Ease
Ease In
Ease Out
Ease In Out
Linear
Ease (cubic-bezier)
Ease In (cubic-bezier)
Ease Out (cubic-bezier)
Ease In Out (cubic-bezier)
Delay:
0s
Iteration Count
1
2
3
5
10
Infinite
Direction
Normal
Reverse
Alternate
Alternate Reverse
Fill Mode
None
Forwards
Backwards
Both
Play State
Running
Paused
Animation Presets
Bounce In
Fade In Up
Slide In Left
Zoom In
Rotate In
Flip In X
Generated CSS
Copy CSS to Clipboard
Live Preview
Demo
Play Animation
Pause
Reset
HTML Example
Copy HTML to Clipboard
Animation Information
Type:
Fade In
Duration:
2s
Timing:
ease
Iterations:
1
About CSS Animations
Animation Properties
animation-name:
Specifies the name of the keyframe rule
animation-duration:
Defines how long the animation takes
animation-timing-function:
Describes the speed curve
animation-delay:
Specifies when the animation starts
animation-iteration-count:
Number of times to repeat
animation-direction:
Defines the direction of the animation
Keyframes
@keyframes:
Define the stages and styles of the animation
0% / from:
Starting point of the animation
100% / to:
Ending point of the animation
Intermediate:
Use percentages for middle stages
Multiple properties:
Animate several CSS properties
Best Practices
• Use animations sparingly to enhance user experience
• Keep animation durations reasonable (0.3s - 0.8s for most UI animations)
• Consider users with motion sensitivity (prefers-reduced-motion)
• Test animations on different devices and browsers
• Use hardware-accelerated properties (transform, opacity) for better performance
• Provide meaningful animations that guide user attention