MeasingsSee, tune and export easings

power2.in ease

Also known as Cubic in, easeInCubic.

Cubic in is a power curve (progress raised to a fixed exponent): the higher the exponent, the stronger the acceleration. The in variant starts slowly and speeds up, which suits elements leaving the screen. The exponent is 3. It is identical to GSAP's built-in "power2.in" ease, so no plugin is needed there.

Measings shows it on real UI animations and lets you fine-tune the curve before you copy the code.

Code

GSAP

gsap.to(".box", { x: 200, duration: 0.6, ease: "power2.in" });

GSAP CustomEase

gsap.registerPlugin(CustomEase);
CustomEase.create("cubicIn", "M0,0 C0.0833,0 0.1667,0 0.25,0.0156 C0.3333,0.0313 0.4167,0.0625 0.5,0.125 C0.5833,0.1875 0.6667,0.2813 0.75,0.4219 C0.8333,0.5625 0.9167,0.75 1,1");

gsap.to(".box", { x: 200, duration: 0.6, ease: "cubicIn" });

CSS linear()

transition-timing-function: linear(0, 0.0014 11.13%, 0.0072 19.27%, 0.0188 26.6%, 0.037 33.33%, 0.0634 39.87%, 0.0978 46.07%, 0.1406 52%, 0.1924 57.73%, 0.2556 63.47%, 0.291 66.27%, 0.3295 69.07%, 0.3701 71.8%, 0.4129 74.47%, 0.4589 77.13%, 0.5082 79.8%, 0.5595 82.4%, 0.6141 85%, 0.6707 87.53%, 0.7306 90.07%, 0.794 92.6%, 0.8592 95.07%, 0.9278 97.53%, 1);

CSS has no built-in curve of this shape, so it is sampled into linear(), which works in all current browsers.

Tailwind

ease-[linear(0,0.0014_11.13%,0.0072_19.27%,0.0188_26.6%,0.037_33.33%,0.0634_39.87%,0.0978_46.07%,0.1406_52%,0.1924_57.73%,0.2556_63.47%,0.291_66.27%,0.3295_69.07%,0.3701_71.8%,0.4129_74.47%,0.4589_77.13%,0.5082_79.8%,0.5595_82.4%,0.6141_85%,0.6707_87.53%,0.7306_90.07%,0.794_92.6%,0.8592_95.07%,0.9278_97.53%,1)]

Webflow

In Interactions, choose a custom ease and paste this path:

M0,0 C0.0833,0 0.1667,0 0.25,0.0156 C0.3333,0.0313 0.4167,0.0625 0.5,0.125 C0.5833,0.1875 0.6667,0.2813 0.75,0.4219 C0.8333,0.5625 0.9167,0.75 1,1

Related easings

See how power2.in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.

Browse all 91 easings in Measings