Power in ease
Power 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 1.68. 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("powerIn", "M0,0 C0.0417,0 0.0833,0.0134 0.125,0.0304 C0.1667,0.0474 0.2083,0.0701 0.25,0.0974 C0.3333,0.1519 0.4167,0.2247 0.5,0.3121 C0.5833,0.3995 0.6667,0.5016 0.75,0.6167 C0.8333,0.7319 0.9167,0.86 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "powerIn" });
CSS linear()
transition-timing-function: linear(0, 0.0059 4.73%, 0.0214 10.13%, 0.0451 15.8%, 0.077 21.73%, 0.1159 27.73%, 0.1627 33.93%, 0.2163 40.2%, 0.2773 46.6%, 0.3442 53%, 0.4184 59.53%, 0.4992 66.13%, 0.5867 72.8%, 0.6806 79.53%, 0.7802 86.27%, 0.8874 93.13%, 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.0059_4.73%,0.0214_10.13%,0.0451_15.8%,0.077_21.73%,0.1159_27.73%,0.1627_33.93%,0.2163_40.2%,0.2773_46.6%,0.3442_53%,0.4184_59.53%,0.4992_66.13%,0.5867_72.8%,0.6806_79.53%,0.7802_86.27%,0.8874_93.13%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.0417,0 0.0833,0.0134 0.125,0.0304 C0.1667,0.0474 0.2083,0.0701 0.25,0.0974 C0.3333,0.1519 0.4167,0.2247 0.5,0.3121 C0.5833,0.3995 0.6667,0.5016 0.75,0.6167 C0.8333,0.7319 0.9167,0.86 1,1
Related easings
- Power out
- Power in-out
- Power out-in
- power1.in
- power1.out
- power1.inOut
- Quad out-in
- power2.in
- sine.in
- Expo in
- circ.in
- back.in(1.7)
See how Power in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
