Tools51

Easing Curves & CSS linear() Springs

CSS Cubic-Bezier & Spring Generator.

Drag P1 and P2 control handles on a live timing graph or switch to modern multi-stop CSS linear(...) spring and bounce physics—and race your curve side by side.

Interactive Studio Customizer

Signature
Presets
Editing state
LIVE INTERACTIVE STAGE
cubic-bezier(0.34, 1.56, 0.64, 1)
Tip: Hover, click, focus, or type directly inside the live preview.
.
Zero JS dependencies · Accessible markup · Ready for production
Blog How to craft CSS cubic-bezier curves and modern linear() spring physics Read the guide

Drag real P1 & P2 CSS cubic-bezier handles & test sample animations

Drag interactive P1 (green) and P2 (rose) SVG handles directly on the Time vs Progress coordinate grid, pick predefined easing curves, or test modern CSS linear(...) springs with on-demand Play and Loop race tracks.

Interactive P1/P2 cubic-bezier handle graph, CSS linear() springs, and Play/Loop preview.
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

Key capabilities

Cubic-bezier curves + CSS linear(...) springs

Compare classic 2-handle cubic-bezier curves against multi-stop CSS linear() spring and bounce physics.

Why CSS linear() unlocks real springs

Standard cubic-bezier() curves can overshoot only once, whereas the modern CSS linear(...) timing function samples multiple rebound stops for authentic damped springs and gravity bounces.

Verified Hover, Focus, Active & Dark states

Test real pointer interactions or lock simulated states on Light, Grid, Tint, and Dark canvases.

Inspecting states and surfaces

Static CSS snippets often fail when hovered, tabbed with a keyboard, or placed on a dark surface. Use the Inspect State bar below the stage to pin Hover, Focus, Active, or Disabled states while fine-tuning elevation and contrast.

Switch the stage between Light, architectural Grid, subtle Tint, and Dark backdrops to verify border visibility and shadow softness across themes.

60 FPS global brand-accent recoloring

Preview every curated preset in your own brand HEX simultaneously before opening the customizer.

How global brand recoloring works

Click any swatch in the top Brand Accent bar—or enter any custom 6-digit HEX code—to recolor every preset card across the gallery at once. Solid fills, soft surface tints, borders, focus rings, and shadows adapt automatically.

You can also click Import .css to extract --primary, --accent, or border-radius values directly from an existing project stylesheet in memory without uploading files.

Vanilla CSS, HTML, :root Tokens & Tailwind

Copy or download synchronized code in four production formats with a custom class prefix.

Choosing the right export tab

Rename the class selector (for example .btn-primary or .checkout-input) and switch seamlessly between scoped Vanilla CSS, clean HTML, reusable :root custom properties, and Tailwind utility markup.

Click Export file to generate a downloadable .css or .html bundle locally in your browser.

Inputs, exports & privacy

Supported inputs
P1/P2 Control Handles & Modern CSS linear(...) Spring Models
Outputs & exports
cubic-bezier() & linear(...) Timing Functions + Side-by-Side Race

Unlimited preset browsing, undo steps, and stylesheet downloads with zero sign-up required.

Every preview, CSS token import, and file export runs 100% locally in your browser.

FAQ

Frequently asked questions

Practical details on browser compatibility, accessibility, and code output.

Runs 100% in your browser
What is the difference between cubic-bezier() and CSS linear()?

cubic-bezier() defines one smooth curve with two handles, whereas linear(...) accepts any number of percentage stops to model true multi-bounce springs.

Can cubic-bezier Y values go below 0 or above 1?

Yes! While X1 and X2 must stay between 0 and 1 (time cannot go backward), Y1 and Y2 can extend beyond 0..1 to create anticipation and overshoot.

Which browsers support CSS linear(...) spring easing?

All evergreen versions of Chrome, Edge, Firefox, and Safari support CSS linear(...) multi-stop easing natively.

What does the gray reference puck in the studio show?

The lower lane runs at constant linear speed over the exact same duration so you can judge acceleration and settle timing at a glance.

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