Cubic Bezier out-in ease
Cubic Bezier out-in is a plain cubic Bézier curve, the same model as CSS cubic-bezier(). The out-in variant is fast at both ends and slows down in the middle, mostly useful as an effect. Control points: (0.1, 0.7) and (0.9, 0.5). 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("cubicBezierOutIn", "M0,0 C0.1,0.7 0.9,0.5 1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "cubicBezierOutIn" });
CSS cubic-bezier()
transition-timing-function: cubic-bezier(0.1, 0.7, 0.9, 0.5);
Tailwind
ease-[cubic-bezier(0.1,0.7,0.9,0.5)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 C0.1,0.7 0.9,0.5 1,1
Related easings
- Cubic Bezier in
- Cubic Bezier out
- Cubic Bezier in-out
- Cubic out-in
- Sine out-in
- Expo out-in
- Circ out-in
- Back out-in
- Elastic out-in
- Bounce out-in
See how Cubic Bezier out-in measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
