〰️ CSS 缓动与动画时序生成器
Design CSS cubic-bezier easing curves visually. Drag handles, preview animations, pick from presets like ease, ease-in-out, spring. Copy CSS free.
Drag the two bezier control points to shape your animation curve, or pick from preset easings (ease, spring, bounce). The preview animates a ball using your curve so you see exactly how it feels — then copy the cubic-bezier() value for your CSS transition or animation.
How to Use
Drag the control points
Click and drag the two colored handles on the SVG canvas to define your easing curve shape.
Preview the animation
Click Play to see a box animate using your cubic-bezier curve. Try preset buttons for common easings.
Copy the function
Click Copy to copy the cubic-bezier() value. Use it in your CSS transition or animation.
Frequently Asked Questions
完整指南:CSS cubic-bezier曲线编辑器
什么是cubic-bezier?
cubic-bezier(x1,y1,x2,y2)通过两个控制点定义动画和过渡的加速曲线。决定动画是先快后慢(ease-out)、先慢后快(ease-in)还是自然节奏(ease-in-out)。
如何使用
- 在图表上拖动控制点修改曲线。
- 实时观察预览动画。
- 复制CSS值用于你的过渡。
专业技巧
- "退出"屏幕的元素用
ease-in;"进入"的元素用ease-out。 - Y值大于1会产生"弹跳"效果——弹簧效果。
cubic-bezier(0.34,1.56,0.64,1)模拟自然柔和弹跳。