Tools51

CSS & UI STUDIO GUIDE

How to craft CSS cubic-bezier curves and modern linear() spring physics

Give UI transitions natural momentum with custom cubic-bezier handles and CSS linear() springs.

Compare classic 2-handle cubic-bezier() overshoot curves against modern multi-stop CSS linear(...) springs and gravity bounces on a live motion race track.

Follow the guide
Before Robotic linear Timing
CSS Cubic-Bezier & Spring Generator unstyled HTML before — Robotic linear Timing
Mechanical constant-speed transition: 0.3s linear movement.
After Spring / Silk Easing Curve
CSS Cubic-Bezier & Spring Generator styled CSS result after — Spring / Silk Easing Curve
Snappy cubic-bezier(0.34, 1.56, 0.64, 1) overshoot or multi-rebound linear(...) spring.
QUICK VIDEO TUTORIAL How to craft CSS cubic-bezier curves and modern linear() spring physics Give UI transitions natural momentum with custom cubic-bezier handles and CSS linear() springs. Watch the video

How to craft CSS cubic-bezier curves and modern linear() spring physics

01

Choose between cubic-bezier() and linear() springs

Open CSS Cubic-Bezier & Spring Generator and watch curve-locked preset tracers glide across Overshoot Spring Pop, iOS Silk Decelerate, Pull-Back Anticipation, and multi-stop CSS linear() springs.

Click Customize to open the interactive P1 & P2 handle graph and Sample Animation Preview.

02

Drag P1/P2 handles on the graph and race against linear

Drag the green P1 and rose P2 handles directly on the Time vs Progress coordinate grid—or click quick chips (linear, ease, ease-in, ease-out, ease-in-out)—and watch the Sample Animation Preview fire automatically on release.

Click ▶ Play (or toggle Loop) to compare your custom curve side by side against the constant-speed Linear Reference lane.

Fast out, gentle settle for entrances

Curves with low X1 and high Y1 (cubic-bezier(0.16, 1, 0.3, 1)) start instantaneously on click so interfaces feel ultra-responsive.

Longer duration for multi-bounce springs

While simple fades use ~200ms, linear(...) springs need 500ms–900ms so the rebound oscillations have time to settle naturally.

03

Copy reusable easing tokens into :root

Check the duration slider in Shadow (200ms–350ms for micro-UI; 500ms–900ms for sheets and springs).

Copy :root { --ease-custom: ... } variables or Tailwind [transition-timing-function:...] classes.

Ready to use CSS Cubic-Bezier & Spring Generator?

Open CSS Cubic-Bezier & Spring Generator in your browser—100% private on your device with zero sign-up and copy-ready CSS, HTML, :root tokens, and Tailwind code. Related CSS studios: CSS Keyframe Animation Generator, CSS Hover Effects Generator, CSS Loader & Spinner Generator.

Open CSS Cubic-Bezier & Spring Generator
Common questions

CSS Cubic-Bezier & Spring Generator FAQs

Practical frontend details for accessible, cross-browser CSS output.

Why can't X1 or X2 go outside 0 to 1 in cubic-bezier()?

The X axis represents time progression (0% to 100%), which must stay monotonic—only the Y progress axis can dip below 0 or exceed 1.

Is CSS linear(...) supported in all modern browsers?

Yes—Chrome 113+, Edge 113+, Firefox 112+, and Safari 17.2+ all support multi-stop linear(...) easing natively.

Can I use the same easing curve in @keyframes animations?

Yes—pass the exact cubic-bezier(...) or linear(...) value as animation-timing-function.

Image detail

Language38

EnglishالعربيةFrançaisItalianoDeutschEspañolPortuguêsNederlandsРусскийTürkçe日本語中文हिन्दीBahasa IndonesiaBahasa Melayu한국어Tiếng ViệtไทยPolskiSvenskaУкраїнськаNorskবাংলাΕλληνικάفارسیاردوČeštinaDanskMagyarRomânăSuomiБългарскиFilipinoქართულიSlovenčinaAzərbaycancaעבריתSlovenščina