CSS Transition Generator

Build a transition rule, test it in the live preview and copy the CSS.

Build a transition rule

Hover me
transition: —
The toggle button changes the state so the transition has something to animate.

How to use the CSS Transition Generator

  1. Choose the property you want to animate and set the timing values.
  2. Press the toggle button to change the state and watch the transition.
  3. Copy the generated rule and reuse it with your own hover styles.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online css transition generator.

It animates the change between two values of a property, so a hover or a state change glides instead of jumping instantly.
Almost any animatable property, including transform, opacity, colour, background colour, box shadow, width and border radius.
Short interactions feel best between 150 and 400 milliseconds, while larger panels and slow reveals suit longer values.
It waits for the given time before the transition starts, which is useful for staggering several elements in a sequence.
Press the toggle button. A transition only appears when a property actually changes from one value to another.
It is convenient but slower, because the browser watches every property. Naming one property keeps behaviour predictable.
Yes. Both are cheap to animate, so they are the best pair for movement and fades that stay smooth on slower devices.
Yes, the transition generator is completely free with no account, no sign-up and no limit on generated rules.

Last updated: October 10, 2026