Back light out-in ease
Back light out-in is a back curve that overshoots its target (or pulls back before it starts) and then settles. The out-in variant is fast at both ends and slows down in the middle, mostly useful as an effect. The overshoot is 0.75. 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("backLightOutIn", "M0,0 C0.0833,0.3125 0.1667,0.4375 0.25,0.4844 C0.3333,0.5312 0.4167,0.5 0.5,0.5 C0.5833,0.5 0.6667,0.4688 0.75,0.5156 C0.8333,0.5625 0.9167,0.6875 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "backLightOutIn" });
CSS linear()
transition-timing-function: linear(0, 0.0827 2.33%, 0.1561 4.67%, 0.2225 7.07%, 0.2803 9.47%, 0.3312 11.93%, 0.3764 14.53%, 0.4135 17.13%, 0.4447 19.87%, 0.4691 22.67%, 0.4873 25.53%, 0.5001 28.6%, 0.5077 31.93%, 0.5097 37.73%, 0.4909 61.33%, 0.49 65.53%, 0.4931 68.6%, 0.5001 71.47%, 0.511 74.13%, 0.5261 76.67%, 0.554 80%, 0.5899 83.13%, 0.6344 86.13%, 0.6884 89.07%, 0.7524 91.93%, 0.8245 94.67%, 0.9063 97.33%, 0.9516 98.67%, 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.0827_2.33%,0.1561_4.67%,0.2225_7.07%,0.2803_9.47%,0.3312_11.93%,0.3764_14.53%,0.4135_17.13%,0.4447_19.87%,0.4691_22.67%,0.4873_25.53%,0.5001_28.6%,0.5077_31.93%,0.5097_37.73%,0.4909_61.33%,0.49_65.53%,0.4931_68.6%,0.5001_71.47%,0.511_74.13%,0.5261_76.67%,0.554_80%,0.5899_83.13%,0.6344_86.13%,0.6884_89.07%,0.7524_91.93%,0.8245_94.67%,0.9063_97.33%,0.9516_98.67%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0833,0.3125 0.1667,0.4375 0.25,0.4844 C0.3333,0.5312 0.4167,0.5 0.5,0.5 C0.5833,0.5 0.6667,0.4688 0.75,0.5156 C0.8333,0.5625 0.9167,0.6875 1,1
Related easings
- back.in(1.7)
- back.out(1.7)
- back.inOut(1.7)
- Back out-in
- back.in(0.75)
- back.out(0.75)
- back.inOut(0.75)
- Cubic out-in
- Sine out-in
- Expo out-in
- Circ out-in
- Elastic out-in
See how Back light out-in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
