Standard Easing Functions
Basic Timing Functions
| Class | Function | Description |
|---|---|---|
animate-linear | linear | Constant speed from start to finish |
animate-ease | ease | Slow start, fast middle, slow end (default) |
animate-ease-in | ease-in | Slow start, accelerates toward end |
animate-ease-out | ease-out | Fast start, decelerates toward end |
animate-ease-in-out | ease-in-out | Slow start and end, fast middle |
Cubic Bezier Easing Functions
Advanced easing curves for more expressive animations. All bezier classes use the patternanimate-bezier-{name}.
Sine Easing
Gentle, subtle easing curves.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-sine-in | (0.12, 0, 0.39, 0) | Gentle acceleration |
animate-bezier-sine-out | (0.39, 0.575, 0.565, 1) | Gentle deceleration |
animate-bezier-sine-in-out | (0.445, 0.05, 0.55, 0.95) | Gentle both ends |
Quadratic Easing
Moderate easing, good for most UI animations.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-quad-in | (0.55, 0.085, 0.68, 0.53) | Moderate acceleration |
animate-bezier-quad-out | (0.25, 0.46, 0.45, 0.94) | Moderate deceleration |
animate-bezier-quad-in-out | (0.455, 0.03, 0.515, 0.955) | Balanced moderation |
Cubic Easing
Stronger easing for more dramatic effects.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-cubic-in | (0.55, 0.055, 0.675, 0.19) | Strong acceleration |
animate-bezier-cubic-out | (0.215, 0.61, 0.355, 1) | Strong deceleration |
animate-bezier-cubic-in-out | (0.645, 0.045, 0.355, 1) | Strong both ends |
Quartic Easing
Very strong easing for bold animations.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-quart-in | (0.895, 0.03, 0.685, 0.22) | Very strong acceleration |
animate-bezier-quart-out | (0.165, 0.84, 0.44, 1) | Very strong deceleration |
animate-bezier-quart-in-out | (0.77, 0, 0.175, 1) | Very strong both ends |
Quintic Easing
Extremely strong easing for maximum impact.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-quint-in | (0.755, 0.05, 0.855, 0.06) | Extreme acceleration |
animate-bezier-quint-out | (0.23, 1, 0.32, 1) | Extreme deceleration |
animate-bezier-quint-in-out | (0.86, 0, 0.07, 1) | Extreme both ends |
Exponential Easing
Mathematical exponential curves for precise control.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-expo-in | (0.95, 0.05, 0.795, 0.035) | Sharp exponential start |
animate-bezier-expo-out | (0.19, 1, 0.22, 1) | Sharp exponential end |
animate-bezier-expo-in-out | (1, 0, 0, 1) | Sharp both ends |
Circular Easing
Circular motion curves for smooth arcs.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-circ-in | (0.6, 0.04, 0.98, 0.335) | Circular acceleration |
animate-bezier-circ-out | (0.075, 0.82, 0.165, 1) | Circular deceleration |
animate-bezier-circ-in-out | (0.785, 0.135, 0.15, 0.86) | Circular both ends |
Back Easing
Overshoot curves that go beyond the target before settling.| Class | Bezier Values | Use Case |
|---|---|---|
animate-bezier-back-in | (0.6, -0.28, 0.735, 0.045) | Anticipation effect |
animate-bezier-back-out | (0.175, 0.885, 0.32, 1.275) | Overshoot effect |
animate-bezier-back-in-out | (0.68, -0.55, 0.265, 1.55) | Both anticipation & overshoot |
Step-Based Timing Functions
For discrete, frame-by-frame animations.| Class | Steps | Description |
|---|---|---|
animate-steps-none | 0 | No steps (continuous) |
animate-steps-retro | 8 | Retro, choppy animation |
animate-steps-normal | 16 | Standard stepped animation |
animate-steps-modern | 24 | Smooth stepped animation |
Easing by Animation Type
Entrances (In Animations)
Use -out easing for natural entrances:Exits (Out Animations)
Use -in easing for natural exits:Continuous Animations
Use linear or -in-out for loops:Interactive Elements
Use back-out for springy feedback:Combining Easing with Other Properties
Responsive Easing
CSS Variable Reference
All bezier classes use the following CSS custom properties:Best Practices
Match Easing to Motion Type
Use Subtle Easing for UI
For interface elements, use gentler curves:Back Easing for Playful Effects
Use back easing sparingly for emphasis:Browser Compatibility
All easing functions are supported in modern browsers:- Chrome 43+
- Firefox 16+
- Safari 9+
- Edge 12+
- Opera 30+