CSS 动画生成器
可视化构建 CSS 动画,含实时预览、预设效果、时序控制和即时代码输出。
用作 @keyframes 名称和 animation 属性标识符。
animate-in fade-in需要 Tailwind CSS v3+ 及 animate 插件或 tailwindcss-animate。
@keyframes myAnimation {
0% { opacity: 0; }
100% { opacity: 1; }
}
.element {
animation: myAnimation 1s ease 0s infinite normal both;
}
/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
.element {
animation: none;
}
}关于 CSS 动画生成器
A CSS animation generator lets you create and customize CSS @keyframes animations without writing code from scratch. Choose from presets, adjust settings, preview in real-time, and copy the generated CSS.
如何使用
Select a preset animation or write custom keyframes. Adjust duration, delay, timing function, and iteration count. Watch the live preview update instantly. Click Copy CSS to get the complete code.
常见用例
- 为 UI 组件创建进入和退出动画
- 构建加载指示器和注意力效果
- 为按钮、卡片和通知添加微交互
- 通过可视化反馈学习 CSS 动画语法
- 为客户演示快速制作动画原型