MeasingsSee, tune and export easings

elastic.in(1, 1.2) ease

Also known as Elastic light in.

Elastic light in is an elastic curve that swings around its target like a rubber band before it comes to rest. The in variant starts slowly and speeds up, which suits elements leaving the screen. Amplitude 1, period 1.2. It is identical to GSAP's built-in "elastic.in(1, 1.2)" 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: "elastic.in(1, 1.2)" });

GSAP CustomEase

gsap.registerPlugin(CustomEase);
CustomEase.create("elasticLightIn", "M0,0 C0,0.0163 0,0.0005 0.0001,0.0005 C0.0001,0.0005 0.0001,0.0005 0.0001,0.0005 C0.0002,0.0005 0.0002,0.0005 0.0002,0.0005 C0.0003,0.0005 0.0004,0.0005 0.0005,0.0005 C0.0007,0.0005 0.0008,0.0005 0.001,0.0005 C0.0013,0.0005 0.0016,0.0005 0.002,0.0005 C0.0026,0.0005 0.0033,0.0005 0.0039,0.0005 C0.0052,0.0005 0.0065,0.0005 0.0078,0.0005 C0.0104,0.0005 0.013,0.0005 0.0156,0.0005 C0.0208,0.0005 0.026,0.0004 0.0313,0.0004 C0.0417,0.0004 0.0521,0.0004 0.0625,0.0003 C0.0833,0.0002 0.1042,0 0.125,-0.0003 C0.1667,-0.0009 0.2083,-0.0019 0.25,-0.0039 C0.3333,-0.0079 0.4167,-0.0182 0.5,-0.0271 C0.5417,-0.0315 0.5833,-0.0352 0.625,-0.0284 C0.6667,-0.0217 0.7083,-0.0047 0.75,0.0458 C0.7917,0.0962 0.8333,0.1814 0.875,0.3336 C0.8958,0.4097 0.9167,0.5026 0.9375,0.614 C0.9583,0.7254 0.9792,0.8556 1,1");

gsap.to(".box", { x: 200, duration: 0.6, ease: "elasticLightIn" });

CSS linear()

transition-timing-function: linear(0, -0.0006 14.47%, -0.0048 26.67%, -0.0121 36.6%, -0.0297 52.73%, -0.0317 59.07%, -0.0269 63.33%, -0.0159 67%, 0.0022 70.33%, 0.0273 73.33%, 0.0499 75.33%, 0.0768 77.27%, 0.1071 79.07%, 0.143 80.87%, 0.1835 82.6%, 0.2283 84.27%, 0.2772 85.87%, 0.3323 87.47%, 0.394 89.07%, 0.4594 90.6%, 0.5312 92.13%, 0.6096 93.67%, 0.6945 95.2%, 0.7857 96.73%, 0.8875 98.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.0006_14.47%,-0.0048_26.67%,-0.0121_36.6%,-0.0297_52.73%,-0.0317_59.07%,-0.0269_63.33%,-0.0159_67%,0.0022_70.33%,0.0273_73.33%,0.0499_75.33%,0.0768_77.27%,0.1071_79.07%,0.143_80.87%,0.1835_82.6%,0.2283_84.27%,0.2772_85.87%,0.3323_87.47%,0.394_89.07%,0.4594_90.6%,0.5312_92.13%,0.6096_93.67%,0.6945_95.2%,0.7857_96.73%,0.8875_98.33%,1)]

Webflow

In Interactions, choose a custom ease and paste this path:

M0,0 C0,0.0163 0,0.0005 0.0001,0.0005 C0.0001,0.0005 0.0001,0.0005 0.0001,0.0005 C0.0002,0.0005 0.0002,0.0005 0.0002,0.0005 C0.0003,0.0005 0.0004,0.0005 0.0005,0.0005 C0.0007,0.0005 0.0008,0.0005 0.001,0.0005 C0.0013,0.0005 0.0016,0.0005 0.002,0.0005 C0.0026,0.0005 0.0033,0.0005 0.0039,0.0005 C0.0052,0.0005 0.0065,0.0005 0.0078,0.0005 C0.0104,0.0005 0.013,0.0005 0.0156,0.0005 C0.0208,0.0005 0.026,0.0004 0.0313,0.0004 C0.0417,0.0004 0.0521,0.0004 0.0625,0.0003 C0.0833,0.0002 0.1042,0 0.125,-0.0003 C0.1667,-0.0009 0.2083,-0.0019 0.25,-0.0039 C0.3333,-0.0079 0.4167,-0.0182 0.5,-0.0271 C0.5417,-0.0315 0.5833,-0.0352 0.625,-0.0284 C0.6667,-0.0217 0.7083,-0.0047 0.75,0.0458 C0.7917,0.0962 0.8333,0.1814 0.875,0.3336 C0.8958,0.4097 0.9167,0.5026 0.9375,0.614 C0.9583,0.7254 0.9792,0.8556 1,1

Related easings

See how elastic.in(1, 1.2) measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.

Browse all 91 easings in Measings