transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
CSS Cubic-Bezier & Parametric Easing Curve Engineering Guide
W3C CSS Easing Functions Level 1 specification, Newton-Raphson root solving, and physics-based spring curves.
Core Mathematical & Curve Specifications
- Strict Time Monotonicity: Enforces valid x-coordinates within [0.0, 1.0] to prevent browser CSS parser invalidation.
- Unconstrained Progression Range: Allows y1/y2 to exceed [0, 1], unlocking real-time spring overshoot and anticipation physics.
- Tailwind CSS & Raw CSS Export: One-click export for transition-timing-function and Tailwind arbitrary transition-[cubic-bezier(...)].
Parametric Bernstein Polynomials: How Browsers Compute Easing Points
A cubic Bézier curve is defined by four 2D control points: P0(0,0), P1(x1,y1), P2(x2,y2), and P3(1,1). The curve is parameterized over t in [0, 1] using Bernstein cubic polynomials: B(t) = (1-t)³P0 + 3(1-t)²tP1 + 3(1-t)t²P2 + t³P3. Because CSS transitions require computing progress y given a normalized elapsed time x, browser rendering engines (Chromium Blink, WebKit, Gecko) run iterative Newton-Raphson numerical solvers on each animation frame.
Frequently Asked Questions (FAQ)
Why can x1 and x2 never be negative or exceed 1.0 in CSS?
The horizontal axis represents normalized time flowing from 0% (start) to 100% (completion). If x could move backward (negative or greater than 1), time would flow in reverse or create multiple y values for a single point in time, violating physical causality and breaking CSS transition determinism.
Can y1 and y2 be greater than 1.0 or less than 0.0?
Yes. The vertical axis represents the output progression of the animated CSS property (e.g., scale, opacity, transform). Setting y > 1.0 creates a spring overshoot (the element shoots past its target destination before settling), while y < 0.0 creates a pull-back anticipation effect.
What is the cubic-bezier equivalent of CSS ease and ease-out?
Standard CSS ease maps exactly to cubic-bezier(0.25, 0.1, 0.25, 1.0), while ease-out maps to cubic-bezier(0.0, 0.0, 0.58, 1.0). Custom Bézier curves allow designers to craft punchier, more responsive brand animations.
Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to craft custom easing curves
- 1Drag the two control points on the curve coordinator graph.
- 2Click the preview button to test animation timing against default ease, linear, and ease-in-out.
- 3Copy the resulting `transition-timing-function: cubic-bezier(...)` CSS.
Organic Animation Physics
Standard `ease-in` curves often feel robotic. Custom cubic-bezier timing imparts momentum, weight, and delight to web interactions.
Frequently Asked Questions
Enjoying CSS Cubic Bezier Generator?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
CSS Glassmorphism Generator
Design frosted glass UI elements with real-time blur, transparency, and CSS export
CSS Box-Shadow Generator Online - Layered & Neumorphism Shadows
Design smooth multi-layered box shadows with custom elevation, spread, and inset depth
CSS Gradient Generator - Free CSS Generator Gradient Tool
Create vibrant linear, radial, and conic gradients with live visual stops and code export
CSS Border Radius Generator
Craft 8-point organic border radius shapes interactively with 8-value syntax