Cubic Bezier in ease
Cubic Bezier in is a plain cubic Bézier curve, the same model as CSS cubic-bezier(). The in variant starts slowly and speeds up, which suits elements leaving the screen. Control points: (0.5, 0) and (0.9, 0.3). 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("cubicBezierIn", "M0,0 C0.5,0 0.9,0.3 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "cubicBezierIn" });
CSS cubic-bezier()
transition-timing-function: cubic-bezier(0.5, 0, 0.9, 0.3);
Tailwind
ease-[cubic-bezier(0.5,0,0.9,0.3)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.5,0 0.9,0.3 1,1
Related easings
- Cubic Bezier out
- Cubic Bezier in-out
- Cubic Bezier out-in
- power2.in
- sine.in
- Expo in
- circ.in
- back.in(1.7)
- elastic.in(1, 0.3)
- bounce.in
See how Cubic Bezier in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
