Sine out-in ease
Sine out-in is a sine curve, the gentlest of the classic easings. The out-in variant is fast at both ends and slows down in the middle, mostly useful as an effect. 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("sineOutIn", "M0,0 C0.0833,0.1309 0.1667,0.261 0.25,0.3536 C0.3333,0.4461 0.4167,0.5 0.5,0.5 C0.5833,0.5 0.6667,0.5539 0.75,0.6464 C0.8333,0.739 0.9167,0.8691 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "sineOutIn" });
CSS linear()
transition-timing-function: linear(0, 0.1605 10.4%, 0.2186 14.4%, 0.2697 18.13%, 0.3155 21.73%, 0.3558 25.2%, 0.3905 28.53%, 0.4199 31.73%, 0.4416 34.47%, 0.4597 37.13%, 0.4745 39.8%, 0.4858 42.4%, 0.4975 46.8%, 0.501 52%, 0.5049 54.47%, 0.5127 57.2%, 0.5245 60%, 0.5407 62.93%, 0.5608 65.87%, 0.5859 68.93%, 0.6147 72%, 0.6789 77.8%, 0.7591 84%, 0.8575 90.8%, 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.1605_10.4%,0.2186_14.4%,0.2697_18.13%,0.3155_21.73%,0.3558_25.2%,0.3905_28.53%,0.4199_31.73%,0.4416_34.47%,0.4597_37.13%,0.4745_39.8%,0.4858_42.4%,0.4975_46.8%,0.501_52%,0.5049_54.47%,0.5127_57.2%,0.5245_60%,0.5407_62.93%,0.5608_65.87%,0.5859_68.93%,0.6147_72%,0.6789_77.8%,0.7591_84%,0.8575_90.8%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0833,0.1309 0.1667,0.261 0.25,0.3536 C0.3333,0.4461 0.4167,0.5 0.5,0.5 C0.5833,0.5 0.6667,0.5539 0.75,0.6464 C0.8333,0.739 0.9167,0.8691 1,1
Related easings
See how Sine out-in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
