Quad out-in ease
Also known as Quad out-in.
Quad 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 2. 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("quadOutIn", "M0,0 C0.0833,0.1667 0.1667,0.2917 0.25,0.375 C0.3333,0.4583 0.4167,0.5 0.5,0.5 C0.5833,0.5 0.6667,0.5417 0.75,0.625 C0.8333,0.7083 0.9167,0.8333 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "quadOutIn" });
CSS linear()
transition-timing-function: linear(0, 0.0595 3.07%, 0.1163 6.2%, 0.1692 9.33%, 0.2182 12.47%, 0.2633 15.6%, 0.3045 18.73%, 0.3417 21.87%, 0.375 25%, 0.4067 28.4%, 0.4333 31.73%, 0.4554 35.07%, 0.4734 38.47%, 0.4861 41.67%, 0.4947 44.87%, 0.499 47.73%, 0.5028 53.73%, 0.5153 58.73%, 0.5275 61.73%, 0.5434 64.73%, 0.5629 67.73%, 0.5865 70.8%, 0.6191 74.4%, 0.6575 78.07%, 0.7014 81.73%, 0.7506 85.4%, 0.8052 89.07%, 0.8652 92.73%, 0.9306 96.4%, 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.0595_3.07%,0.1163_6.2%,0.1692_9.33%,0.2182_12.47%,0.2633_15.6%,0.3045_18.73%,0.3417_21.87%,0.375_25%,0.4067_28.4%,0.4333_31.73%,0.4554_35.07%,0.4734_38.47%,0.4861_41.67%,0.4947_44.87%,0.499_47.73%,0.5028_53.73%,0.5153_58.73%,0.5275_61.73%,0.5434_64.73%,0.5629_67.73%,0.5865_70.8%,0.6191_74.4%,0.6575_78.07%,0.7014_81.73%,0.7506_85.4%,0.8052_89.07%,0.8652_92.73%,0.9306_96.4%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0833,0.1667 0.1667,0.2917 0.25,0.375 C0.3333,0.4583 0.4167,0.5 0.5,0.5 C0.5833,0.5 0.6667,0.5417 0.75,0.625 C0.8333,0.7083 0.9167,0.8333 1,1
Related easings
- Power in
- Power out
- Power in-out
- Power out-in
- power1.in
- power1.out
- power1.inOut
- Cubic out-in
- Sine out-in
- Expo out-in
- Circ out-in
- Back out-in
See how Quad out-in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
