CSS Animation Playground

Create and experiment with CSS animations in real-time. Features 15 predefined animation types, customizable timing functions, duration controls, and instant CSS code generation.

CSSAnimationWeb Development

CSS Animation Playground

Create custom CSS animations with keyframes. Preview in real-time and copy the generated CSS.

Animation Settings

Configure your animation properties

Keyframes Editor

Define your animation keyframes

Keyframes (2)
0%
100%

Live Preview

See your animation in action

CSS
My Custom Animation
2s • 2 keyframes

Generated CSS

Copy this CSS to use in your project

@keyframes MyCustomAnimation {
  0% {
    
    opacity: 1;
    background-color: #3b82f6;
    border-radius: 8px;
  }
  100% {
    
    opacity: 1;
    background-color: #8b5cf6;
    border-radius: 8px;
  }
}

.animated-element {
  animation-name: MyCustomAnimation;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: both;
}