Interactive CSS Cubic Bezier Easing Playground
CSS transition-timing-function ベジェ緩動曲線のリアルタイム調整と動作比較。
Live side-by-side comparison with standard browser curves running at native 60/120 FPS.
Standard web default: moderate start, brisk acceleration, and gentle decelerated finish.
Uniform, steady motion with zero acceleration. Ideal for continuous spins or color tickers.
Starts slowly and accelerates toward the climax. Suitable for exiting or collapsing elements.
Begins at maximum velocity and smoothly brakes. Perfect for incoming banners and toast alerts.
Symmetric ramp: slow start, rapid transit in the middle, and gradual settlement at target.
Overshoots the target by +27.5% before snapping back. Gives UI cards tactile springiness.
Pulls backwards like drawing a bowstring before launching forward at high speed.
Classic animation curve: deep negative wind-up coupled with massive overshoot bounce.
Rapidly shoots +56% past end position then quickly contracts back like elastic rubber.
Subtle micro-overshoot (+12%) designed for clean modern button interactions and modals.
Google Material Design 3 emphasized transition: brisk start with elongated soft landing.
Entering navigation sheets and dialogue backdrops that arrive rapidly and settle.
Exiting items moving out of viewport with steady build-up and swift departure.
iOS style dynamic spring feedback mimicking tactile Haptic touch and sheet expansion.
Quadratic easing curve: gradual natural growth resembling physical gravity drop.
Quadratic deceleration: quick start with gentle, natural slowdown without rebound.
Balanced quadratic ease: comfortable acceleration and deceleration profile.
Near-instant leap into final position with extended settling glide. Very snappy.
Holds near starting position until dramatic burst of movement near completion.
Production-Ready Code Generator
Export curve directly into CSS, Tailwind, Framer Motion, WAAPI, SwiftUI, or Compose
/* CSS transition-timing-function */
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);100% Private Browser Execution
All data processing, parsing, and compilation execute strictly inside your local browser memory. Zero external server uploads.
Instant Live Preview
Instant real-time reactive computation delivers immediate feedback on every keystroke with zero network latency.
Production Standards & Compliance
Outputs clean, cross-browser CSS and visual values verified against modern web layout standards.
Interactive CSS Cubic Bezier Easing Playground — Reference Guide
Fine-tune transition-timing-function cubic-bezier(x1, y1, x2, y2) curves with real-time motion comparators and overshoot physics.
Standard CSS Transition Easing Functions & Curves Table
Standard CSS timing functions, cubic-bezier() control point parameters, acceleration curve dynamics, and ideal UI animation motion contexts.
| Easing Name | CSS Keyword | cubic-bezier() Values | Acceleration Curve Dynamics | Ideal UI Motion Use Case |
|---|---|---|---|---|
| Linear | linear | cubic-bezier(0, 0, 1, 1) | Uniform speed from start to finish | Loading spinners, continuous color gradients, infinite progress |
| Ease (Default) | ease | cubic-bezier(0.25, 0.1, 0.25, 1) | Fast acceleration, gentle deceleration | General UI hover states, default micro-interactions |
| Ease-In | ease-in | cubic-bezier(0.42, 0, 1, 1) | Slow start, accelerates towards end | Elements exiting screen, dropdown close transitions |
| Ease-Out | ease-out | cubic-bezier(0, 0, 0.58, 1) | Fast initial burst, slow smooth landing | Modal popups entering view, drawer open animations |
| Ease-In-Out | ease-in-out | cubic-bezier(0.42, 0, 0.58, 1) | Slow start, fast middle, slow finish | Accordion expand/collapse, carousel slide transitions |
| Spring Bounce | custom | cubic-bezier(0.34, 1.56, 0.64, 1) | Overshoots target and bounces back | Attention-grabbing notifications, like button animations |
Key Parameters & Controls
| Parameter | Type / Unit | Description | Default |
|---|---|---|---|
| Control Point P1 | Coordinate Pair (x1, y1) | First tangent anchor governing initial velocity; x1 is bounded [0, 1], y1 allows overshoot. | 0.25, 0.1 |
| Control Point P2 | Coordinate Pair (x2, y2) | Second tangent anchor governing terminal deceleration; x2 is bounded [0, 1], y2 allows overshoot. | 0.25, 1.0 |
| Duration | Time in seconds (s) | Total transition span over which the velocity polynomial is integrated. | 0.5s |
Pro Tips & Best Practices
The CSS specification requires time progression x-coordinates to strictly remain within [0.0, 1.0] to guarantee forward monotonic time.
Setting y1 or y2 outside the [0.0, 1.0] range produces lively spring bouncebacks and anticipatory windup effects natively in CSS.
Apply custom bezier functions exclusively to transform and opacity to maintain steady 60/120 FPS playback.
Common Gotchas & Troubleshooting
⚠️Browser ignores cubic-bezier rule and falls back to linear
Check if x1 or x2 is less than 0 or greater than 1; invalid X coordinates invalidate the entire CSS declaration.
⚠️Animation feels sluggish or stutters during micro-interactions
Ensure the animated element has will-change: transform configured and avoid animating layout properties like width or margin.
Frequently Asked Questions
What mathematical equation defines cubic-bezier in CSS?▼
It is a parametric Bernstein cubic polynomial B(t) defined by four points: P0=(0,0), P1=(x1,y1), P2=(x2,y2), and P3=(1,1).
Can y1 or y2 be negative in CSS?▼
Yes. While x values must stay within [0, 1], y values can be negative or exceed 1 to create elastic bounce and overshoot micro-interactions.
What is the equivalent cubic-bezier for browser 'ease'?▼
The CSS keyword 'ease' corresponds mathematically to cubic-bezier(0.25, 0.1, 0.25, 1.0).
Why should I avoid animating width or height with bezier curves?▼
Animating width, height, or top/left forces layout reflow on every frame; use transform: scale() or translate() for GPU compositing.
Related Tools & Utilities
All Tools →Modern frosted glass effect creator with backdrop blur, transparency, and subtle borders.
Generate clean, pixel-perfect CSS triangles pointing in any direction using the border trick with one-click CSS copy.
Design modern responsive grid layouts visually by defining rows, columns, and gaps with auto-generated clean CSS.
Compose multi-step @keyframes animations with visual play/pause controls, iteration counts, and keyframe percentage scrubbing.
Visual CSS gradient creator with multi-color colorstops, angle controls, radial shapes, preset palettes, and one-click CSS export.
Encode, optimize, URL-escape, and convert raw SVG vector markup into clean CSS background-image, mask-image, and Data URI properties locally.