power2.out ease
Also known as Cubic out, easeOutCubic.
Cubic out is a power curve (progress raised to a fixed exponent): the higher the exponent, the stronger the acceleration. The out variant starts fast and slows down into its end position, the usual choice for elements entering the screen and for UI feedback. The exponent is 3. It is identical to GSAP's built-in "power2.out" 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.out" });
GSAP CustomEase
gsap.registerPlugin(CustomEase);
CustomEase.create("cubicOut", "M0,0 C0.0833,0.25 0.1667,0.4375 0.25,0.5781 C0.3333,0.7187 0.4167,0.8125 0.5,0.875 C0.5833,0.9375 0.6667,0.9687 0.75,0.9844 C0.8333,1 0.9167,1 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "cubicOut" });
CSS linear()
transition-timing-function: linear(0, 0.0722 2.47%, 0.1408 4.93%, 0.206 7.4%, 0.2694 9.93%, 0.3293 12.47%, 0.3859 15%, 0.4405 17.6%, 0.4918 20.2%, 0.5411 22.87%, 0.5871 25.53%, 0.6299 28.2%, 0.6705 30.93%, 0.709 33.73%, 0.7444 36.53%, 0.8076 42.27%, 0.8594 48%, 0.9022 53.93%, 0.9366 60.13%, 0.963 66.67%, 0.9812 73.4%, 0.9928 80.73%, 0.9986 88.87%, 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.0722_2.47%,0.1408_4.93%,0.206_7.4%,0.2694_9.93%,0.3293_12.47%,0.3859_15%,0.4405_17.6%,0.4918_20.2%,0.5411_22.87%,0.5871_25.53%,0.6299_28.2%,0.6705_30.93%,0.709_33.73%,0.7444_36.53%,0.8076_42.27%,0.8594_48%,0.9022_53.93%,0.9366_60.13%,0.963_66.67%,0.9812_73.4%,0.9928_80.73%,0.9986_88.87%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0833,0.25 0.1667,0.4375 0.25,0.5781 C0.3333,0.7187 0.4167,0.8125 0.5,0.875 C0.5833,0.9375 0.6667,0.9687 0.75,0.9844 C0.8333,1 0.9167,1 1,1
Related easings
- Power in
- Power out
- Power in-out
- Power out-in
- power1.in
- power1.out
- power1.inOut
- sine.out
- Expo out
- circ.out
- back.out(1.7)
- elastic.out(1, 0.3)
See how power2.out measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
