ToolBunny LogoToolBunny
Back to Homepage
CSS Animation Generator

Design custom CSS animations with presets and a live preview.

Animation Properties
1s
0s
Preview
@keyframes
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.your-class
.your-class {
animation-name: fadeIn; animation-duration: 1s; animation-timing-function: ease; animation-delay: 0s; animation-iteration-count: 1; animation-direction: normal; animation-fill-mode: forwards;
}
About This Tool

The CSS Animation Generator provides an intuitive, visual interface for creating powerful CSS animations. Instead of writing complex keyframes by hand, you can select from a list of pre-built animations (like fade, slide, bounce, etc.), customize properties such as duration, timing function, and iteration count, and see a live preview of your animation in action. The tool then generates all the necessary CSS code for you, including the `@keyframes` rule and the animation properties, ready to be copied and pasted directly into your projects.

How to Use
  1. Select a preset animation from the dropdown menu (e.g., "fadeIn", "slideInUp").
  2. Adjust the sliders and select options in the "Animation Properties" card to customize the animation's behavior. You can change duration, delay, timing function, and more.
  3. Observe the live preview on the right to see how your changes affect the animation. You can click "Replay Animation" to see it again at any time.
  4. Once you are satisfied with the result, copy the generated CSS code from the two output boxes below the preview. You'll need to add both the `@keyframes` rule and the animation properties for your CSS class to your stylesheet.