power1.in ease
Also known as Quad in, easeInQuad.
Quad in is a power curve (progress raised to a fixed exponent): the higher the exponent, the stronger the acceleration. The in variant starts slowly and speeds up, which suits elements leaving the screen. The exponent is 2. It is identical to GSAP's built-in "power1.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: "power1.in" });
GSAP CustomEase
gsap.registerPlugin(CustomEase);
CustomEase.create("quadIn", "M0,0 C0.0833,0 0.1667,0.0208 0.25,0.0625 C0.3333,0.1042 0.4167,0.1667 0.5,0.25 C0.5833,0.3333 0.6667,0.4375 0.75,0.5625 C0.8333,0.6875 0.9167,0.8333 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "quadIn" });
CSS linear()
transition-timing-function: linear(0, 0.0039 6.27%, 0.0155 12.47%, 0.0351 18.73%, 0.0625 25%, 0.0978 31.27%, 0.1409 37.53%, 0.1913 43.73%, 0.25 50%, 0.3158 56.2%, 0.3902 62.47%, 0.4724 68.73%, 0.5625 75%, 0.6593 81.2%, 0.765 87.47%, 0.8786 93.73%, 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.0039_6.27%,0.0155_12.47%,0.0351_18.73%,0.0625_25%,0.0978_31.27%,0.1409_37.53%,0.1913_43.73%,0.25_50%,0.3158_56.2%,0.3902_62.47%,0.4724_68.73%,0.5625_75%,0.6593_81.2%,0.765_87.47%,0.8786_93.73%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0833,0 0.1667,0.0208 0.25,0.0625 C0.3333,0.1042 0.4167,0.1667 0.5,0.25 C0.5833,0.3333 0.6667,0.4375 0.75,0.5625 C0.8333,0.6875 0.9167,0.8333 1,1
Related easings
- Power in
- Power out
- Power in-out
- Power out-in
- power1.out
- power1.inOut
- Quad out-in
- power2.in
- sine.in
- Expo in
- circ.in
- back.in(1.7)
See how power1.in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
