Skip to main content

CSS Animation & Easing Generator

Runs locally

Build @keyframes and cubic-bezier() easing curves with live playback preview.

What is CSS Animation & Easing Generator?

Build CSS `@keyframes` animations and custom `cubic-bezier()` timing curves with interactive playback, presets (fade, slide, scale, pulse), iteration controls, and `prefers-reduced-motion` safety wrappers.

How to use CSS Animation & Easing Generator

  1. Step 1

    Pick an animation preset or configure keyframe start/end transforms and opacity.

  2. Step 2

    Adjust duration, delay, iteration count, and cubic-bezier control points.

  3. Step 3

    Preview the live animation and copy the CSS with reduced-motion fallback.

Features

  • Interactive SVG cubic-bezier curve visualizer with classic easing presets
  • Keyframe transform (translate, scale, rotate) and opacity controls
  • Live play/pause/replay preview stage
  • Includes `@media (prefers-reduced-motion: reduce)` best-practice snippet

Example

Input

slideUp, 240ms, cubic-bezier(0.16, 1, 0.3, 1)

Output

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

Uses an exponential ease-out curve for crisp UI entrance motion.

Frequently asked questions

Why include prefers-reduced-motion?

Users sensitive to motion rely on the OS setting to disable distracting movement.

Which properties animate at 60fps?

Prefer `transform` and `opacity`, which run on the compositor without layout reflow.

Can I customize cubic-bezier handles?

Yes, drag or enter X1, Y1, X2, Y2 coordinates directly.

Is it browser-only?

Yes, runs locally in your browser.