✨ CSS Animation Generator

Choose an animation type, tune its parameters, preview the result live and copy the CSS keyframes for front-end motion work.

📐 计算公式 / 原理
缓动取值:选择 custom 时拼为 cubic-bezier(x1, y1, x2, y2),否则直接取预设关键字;生成代码为 @keyframes 名称 { 关键帧文本 } 加 .animated { animation: 名称 时长s 缓动 延迟s 循环次数 方向 填充模式; }
选择动画类型(平移 / 旋转 / 缩放 / 透明度等)后拼接 @keyframes 与 animation 声明,实时预览并复制;用于前端动效原型开发。

实时预览

fade-in

CSS 代码