elastic.out(1, 1.2) ease
Also known as Elastic light out.
Elastic light out is an elastic curve that swings around its target like a rubber band before it comes to rest. The out variant starts fast and slows down into its end position, the usual choice for elements entering the screen and for UI feedback. Amplitude 1, period 1.2. It is identical to GSAP's built-in "elastic.out(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.out(1, 1.2)" });
GSAP CustomEase
gsap.registerPlugin(CustomEase);
CustomEase.create("elasticLightOut", "M0,0 C0.0208,0.1444 0.0417,0.2746 0.0625,0.386 C0.0833,0.4974 0.1042,0.5903 0.125,0.6664 C0.1667,0.8186 0.2083,0.9038 0.25,0.9542 C0.2917,1.0047 0.3333,1.0217 0.375,1.0284 C0.4167,1.0352 0.4583,1.0315 0.5,1.0271 C0.5833,1.0182 0.6667,1.0079 0.75,1.0039 C0.7917,1.0019 0.8333,1.0009 0.875,1.0003 C0.8958,1 0.9167,0.9998 0.9375,0.9997 C0.9479,0.9996 0.9583,0.9996 0.9688,0.9996 C0.974,0.9996 0.9792,0.9995 0.9844,0.9995 C0.987,0.9995 0.9896,0.9995 0.9922,0.9995 C0.9935,0.9995 0.9948,0.9995 0.9961,0.9995 C0.9967,0.9995 0.9974,0.9995 0.998,0.9995 C0.9984,0.9995 0.9987,0.9995 0.999,0.9995 C0.9992,0.9995 0.9993,0.9995 0.9995,0.9995 C0.9996,0.9995 0.9997,0.9995 0.9998,0.9995 C0.9998,0.9995 0.9998,0.9995 0.9999,0.9995 C0.9999,0.9995 0.9999,0.9995 0.9999,0.9995 C1,0.9995 1,0.9837 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "elasticLightOut" });
CSS linear()
transition-timing-function: linear(0, 0.1125 1.67%, 0.2143 3.27%, 0.3055 4.8%, 0.3904 6.33%, 0.4688 7.87%, 0.5406 9.4%, 0.606 10.93%, 0.6677 12.53%, 0.7228 14.13%, 0.7717 15.73%, 0.8165 17.4%, 0.857 19.13%, 0.8929 20.93%, 0.9232 22.73%, 0.9501 24.67%, 0.9727 26.67%, 0.9978 29.67%, 1.0159 33%, 1.0269 36.67%, 1.0317 40.93%, 1.0297 47.27%, 1.0121 63.4%, 1.0048 73.33%, 1.0006 85.53%, 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.1125_1.67%,0.2143_3.27%,0.3055_4.8%,0.3904_6.33%,0.4688_7.87%,0.5406_9.4%,0.606_10.93%,0.6677_12.53%,0.7228_14.13%,0.7717_15.73%,0.8165_17.4%,0.857_19.13%,0.8929_20.93%,0.9232_22.73%,0.9501_24.67%,0.9727_26.67%,0.9978_29.67%,1.0159_33%,1.0269_36.67%,1.0317_40.93%,1.0297_47.27%,1.0121_63.4%,1.0048_73.33%,1.0006_85.53%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0208,0.1444 0.0417,0.2746 0.0625,0.386 C0.0833,0.4974 0.1042,0.5903 0.125,0.6664 C0.1667,0.8186 0.2083,0.9038 0.25,0.9542 C0.2917,1.0047 0.3333,1.0217 0.375,1.0284 C0.4167,1.0352 0.4583,1.0315 0.5,1.0271 C0.5833,1.0182 0.6667,1.0079 0.75,1.0039 C0.7917,1.0019 0.8333,1.0009 0.875,1.0003 C0.8958,1 0.9167,0.9998 0.9375,0.9997 C0.9479,0.9996 0.9583,0.9996 0.9688,0.9996 C0.974,0.9996 0.9792,0.9995 0.9844,0.9995 C0.987,0.9995 0.9896,0.9995 0.9922,0.9995 C0.9935,0.9995 0.9948,0.9995 0.9961,0.9995 C0.9967,0.9995 0.9974,0.9995 0.998,0.9995 C0.9984,0.9995 0.9987,0.9995 0.999,0.9995 C0.9992,0.9995 0.9993,0.9995 0.9995,0.9995 C0.9996,0.9995 0.9997,0.9995 0.9998,0.9995 C0.9998,0.9995 0.9998,0.9995 0.9999,0.9995 C0.9999,0.9995 0.9999,0.9995 0.9999,0.9995 C1,0.9995 1,0.9837 1,1
Related easings
- elastic.in(1, 0.3)
- elastic.out(1, 0.3)
- elastic.inOut(1, 0.3)
- Elastic out-in
- elastic.in(1, 1.2)
- elastic.inOut(1, 1.2)
- Elastic light out-in
- power2.out
- sine.out
- Expo out
- circ.out
- back.out(1.7)
See how elastic.out(1, 1.2) measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
