CSS Transition Generator

Play a transition, then copy the timing.


A transition runs when a property changes, for example on hover. The play button toggles a class so you can see the timing without writing the hover state yourself.

Frequently asked questions

Which properties can transition?

Colors, lengths, transforms and opacity transition smoothly. display cannot. Use all only when you know every change should animate.

Is delay the same as duration?

Duration is how long the change takes. Delay is the wait before it starts.