power3.inOut ease
Also known as Quart in-out, easeInOutQuart.
Quart in-out is a power curve (progress raised to a fixed exponent): the higher the exponent, the stronger the acceleration. The in-out variant is slow at both ends and fastest in the middle, good for moving something between two positions on screen. The exponent is 4. It is identical to GSAP's built-in "power3.inOut" 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: "power3.inOut" });
GSAP CustomEase
gsap.registerPlugin(CustomEase);
CustomEase.create("quartInOut", "M0,0 C0.0417,0 0.0833,-0.0007 0.125,0.002 C0.1667,0.0046 0.2083,0.0104 0.25,0.0313 C0.2917,0.0521 0.3333,0.0879 0.375,0.1582 C0.4167,0.2285 0.4583,0.3333 0.5,0.5 C0.5417,0.6667 0.5833,0.7715 0.625,0.8418 C0.6667,0.9121 0.7083,0.9479 0.75,0.9688 C0.7917,0.9896 0.8333,0.9954 0.875,0.998 C0.9167,1.0007 0.9583,1 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "quartInOut" });
CSS linear()
transition-timing-function: linear(0, 0.0029 13.8%, 0.0086 18.13%, 0.0183 21.87%, 0.0336 25.47%, 0.055 28.8%, 0.0825 31.87%, 0.1164 34.73%, 0.1532 37.2%, 0.1954 39.53%, 0.2442 41.8%, 0.2998 44%, 0.352 45.8%, 0.4084 47.53%, 0.4587 48.93%, 0.5586 51.53%, 0.6249 53.47%, 0.691 55.67%, 0.7495 57.93%, 0.8033 60.4%, 0.8501 63%, 0.8888 65.67%, 0.9216 68.53%, 0.9445 71.13%, 0.9631 73.93%, 0.9774 76.93%, 0.9877 80.2%, 0.9942 83.6%, 0.9981 87.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.0029_13.8%,0.0086_18.13%,0.0183_21.87%,0.0336_25.47%,0.055_28.8%,0.0825_31.87%,0.1164_34.73%,0.1532_37.2%,0.1954_39.53%,0.2442_41.8%,0.2998_44%,0.352_45.8%,0.4084_47.53%,0.4587_48.93%,0.5586_51.53%,0.6249_53.47%,0.691_55.67%,0.7495_57.93%,0.8033_60.4%,0.8501_63%,0.8888_65.67%,0.9216_68.53%,0.9445_71.13%,0.9631_73.93%,0.9774_76.93%,0.9877_80.2%,0.9942_83.6%,0.9981_87.53%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0417,0 0.0833,-0.0007 0.125,0.002 C0.1667,0.0046 0.2083,0.0104 0.25,0.0313 C0.2917,0.0521 0.3333,0.0879 0.375,0.1582 C0.4167,0.2285 0.4583,0.3333 0.5,0.5 C0.5417,0.6667 0.5833,0.7715 0.625,0.8418 C0.6667,0.9121 0.7083,0.9479 0.75,0.9688 C0.7917,0.9896 0.8333,0.9954 0.875,0.998 C0.9167,1.0007 0.9583,1 1,1
Related easings
- Power in
- Power out
- Power in-out
- Power out-in
- power1.in
- power1.out
- power1.inOut
- power2.inOut
- sine.inOut
- Expo in-out
- circ.inOut
- back.inOut(1.7)
See how power3.inOut measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
