πŸ“ˆ
🎬

Easing for @keyframes Animations

Pick the right animation-timing-function for CSS keyframe animations.

Nid oes angen mewngofnodi

Drag the teal & rose handles to shape the curve

Motion preview
Width transition
CSS value
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);

Presets

πŸ’‘ The rose and teal handles can pull above or below the box (Y beyond 0-1) to create β€œovershoot” / bounce effects like back-out and anticipate. X stays within 0-1 (time can’t reverse).

Keyframes tips

🎬

animation-timing-function accepts cubic-bezier() too β€” copy the value into your @keyframes animation shorthand.

πŸ’‘

Note: the timing function applies between each keyframe pair, not across the whole animation.

🎯

For looping animations, ease-in-out style curves avoid the jarring stop-start of linear.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin