CSS動畫生成器

視覺化建立CSS關鍵幀動畫。

預覽

Start
Animate

生成的CSS

@keyframes my-animation {
  0% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    opacity: 1;
    background-color: #3b82f6;
  }
  100% {
    transform: translate(100px, 0px) scale(1.2) rotate(45deg);
    opacity: 1;
    background-color: #ec4899;
  }
}

.animated-element {
  animation: my-animation 2s ease-in-out 0s infinite normal forwards;
}

動畫設定

2s

起始狀態0%

0, 0
1
0°
1
#3b82f6

結束狀態100%

100, 0
1.2
45°
1
#ec4899

Creating CSS Animations Without Hand-Coding

Overview

CSS animations bring interfaces to life — fades, slides, bounces, and spins — but writing keyframes by hand is fiddly. This generator lets you configure an animation visually and outputs ready-to-paste CSS, all previewed live in your browser.

How to Use (Step by Step)

  1. 1

    Pick an animation type

    Choose fade, slide, bounce, spin, or another preset.

  2. 2

    Adjust timing

    Set duration, easing, delay, and how many times it repeats.

  3. 3

    Copy the CSS

    Paste the generated keyframes and animation rule into your stylesheet.

How It Works

You choose properties like type, duration, timing function, delay, and iteration, and the tool builds the corresponding @keyframes rule and animation shorthand. The timing function (ease, linear, cubic-bezier) shapes how the motion accelerates, while duration and iteration control speed and repetition. You see the effect live and copy the generated CSS into your stylesheet.

When to Use This

Adding a subtle entrance animation to a hero section or card. Creating a loading spinner or pulse effect. Prototyping motion before committing it to code.

Frequently Asked Questions

It controls the acceleration curve of the motion — ease starts and ends slowly, linear is constant, and cubic-bezier lets you define a custom curve.

CSS動畫生成器 | Super Easy Utils