Power out-in ease
Power out-in is a power curve (progress raised to a fixed exponent): the higher the exponent, the stronger the acceleration. The out-in variant is fast at both ends and slows down in the middle, mostly useful as an effect. The exponent is 1.68. GSAP has no built-in ease with this exact shape, so the code uses CustomEase.
Measings shows it on real UI animations and lets you fine-tune the curve before you copy the code.
Code
GSAP CustomEase
gsap.registerPlugin(CustomEase);
CustomEase.create("powerOutIn", "M0,0 C0.0833,0.14 0.1667,0.2566 0.25,0.344 C0.2917,0.3876 0.3333,0.424 0.375,0.4513 C0.3958,0.4649 0.4167,0.4763 0.4375,0.4848 C0.4583,0.4933 0.4792,0.5 0.5,0.5 C0.5208,0.5 0.5417,0.5067 0.5625,0.5152 C0.5833,0.5237 0.6042,0.5351 0.625,0.5487 C0.6667,0.576 0.7083,0.6124 0.75,0.656 C0.8333,0.7434 0.9167,0.86 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "powerOutIn" });
CSS linear()
transition-timing-function: linear(0, 0.0654 4%, 0.127 8%, 0.1838 11.93%, 0.2367 15.87%, 0.2849 19.73%, 0.3283 23.53%, 0.367 27.27%, 0.401 30.93%, 0.4475 36.93%, 0.4658 39.87%, 0.4801 42.67%, 0.4959 47.13%, 0.5016 51.67%, 0.5076 54.13%, 0.5184 57%, 0.5335 60%, 0.5534 63.2%, 0.5779 66.53%, 0.6067 69.93%, 0.639 73.33%, 0.7096 79.8%, 0.7933 86.4%, 0.8901 93.13%, 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.0654_4%,0.127_8%,0.1838_11.93%,0.2367_15.87%,0.2849_19.73%,0.3283_23.53%,0.367_27.27%,0.401_30.93%,0.4475_36.93%,0.4658_39.87%,0.4801_42.67%,0.4959_47.13%,0.5016_51.67%,0.5076_54.13%,0.5184_57%,0.5335_60%,0.5534_63.2%,0.5779_66.53%,0.6067_69.93%,0.639_73.33%,0.7096_79.8%,0.7933_86.4%,0.8901_93.13%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0833,0.14 0.1667,0.2566 0.25,0.344 C0.2917,0.3876 0.3333,0.424 0.375,0.4513 C0.3958,0.4649 0.4167,0.4763 0.4375,0.4848 C0.4583,0.4933 0.4792,0.5 0.5,0.5 C0.5208,0.5 0.5417,0.5067 0.5625,0.5152 C0.5833,0.5237 0.6042,0.5351 0.625,0.5487 C0.6667,0.576 0.7083,0.6124 0.75,0.656 C0.8333,0.7434 0.9167,0.86 1,1
Related easings
- Power in
- Power out
- Power in-out
- power1.in
- power1.out
- power1.inOut
- Quad out-in
- Cubic out-in
- Sine out-in
- Expo out-in
- Circ out-in
- Back out-in
See how Power out-in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
