sine.in ease
Also known as Sine in, easeInSine.
Sine in is a sine curve, the gentlest of the classic easings. The in variant starts slowly and speeds up, which suits elements leaving the screen. It is identical to GSAP's built-in "sine.in" 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: "sine.in" });
GSAP CustomEase
gsap.registerPlugin(CustomEase);
CustomEase.create("sineIn", "M0,0 C0.0833,0 0.1667,0.026 0.25,0.0761 C0.3333,0.1262 0.4167,0.2003 0.5,0.2929 C0.5833,0.3855 0.6667,0.4964 0.75,0.6173 C0.8333,0.7383 0.9167,0.8691 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "sineIn" });
CSS linear()
transition-timing-function: linear(0, 0.0035 5.33%, 0.0142 10.73%, 0.0319 16.13%, 0.0567 21.53%, 0.0886 27%, 0.1278 32.53%, 0.1747 38.2%, 0.2288 43.93%, 0.2885 49.6%, 0.3561 55.47%, 0.4319 61.53%, 0.5173 67.93%, 0.6096 74.47%, 0.714 81.53%, 0.8332 89.33%, 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.0035_5.33%,0.0142_10.73%,0.0319_16.13%,0.0567_21.53%,0.0886_27%,0.1278_32.53%,0.1747_38.2%,0.2288_43.93%,0.2885_49.6%,0.3561_55.47%,0.4319_61.53%,0.5173_67.93%,0.6096_74.47%,0.714_81.53%,0.8332_89.33%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0833,0 0.1667,0.026 0.25,0.0761 C0.3333,0.1262 0.4167,0.2003 0.5,0.2929 C0.5833,0.3855 0.6667,0.4964 0.75,0.6173 C0.8333,0.7383 0.9167,0.8691 1,1
Related easings
See how sine.in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
