The quick answer

The CSS Transition Generator turns duration, easing and delay into one copyable declaration. The default 300ms ease-in-out with no delay produces transition: all 300ms ease-in-out 0ms, and scoping it to a single property like opacity is a one-word edit after pasting. Duration runs 50 to 3000ms in 50ms steps, delay 0 to 2000ms, and six easing options include a spring-like cubic-bezier. Output updates live in your browser; nothing uploads.

What a transition generator is for

Transition syntax is short but easy to get subtly wrong: a forgotten duration, a cubic-bezier curve that overshoots into the wrong z-order, a delay that makes a hover feel dead. The CSS Transition Generator collapses that into three controls: set duration, easing and delay, read the declaration it writes, copy it. It runs entirely in your browser with no signup and no upload.

The rest of the page is the receipt for that promise: usage steps for the generator, the documented method, a verifiable example, the limitations, and answers to the common questions.

Tuning a transition, step by step

  1. Start from the default timing

    The page loads with Duration 300ms, Easing ease-in-out and Delay 0ms, a default that reads as snappy but calm.

  2. Set the duration

    The Duration slider (50 to 3000ms, in 50ms steps) sets how long the change takes; the output panel rewrites the declaration as you drag.

  3. Pick the easing

    The Easing select offers linear, ease, ease-in, ease-out, ease-in-out and cubic-bezier(0.34, 1.56, 0.64, 1), the spring-like curve that overshoots for playful UI.

  4. Set the delay

    The Delay slider (0 to 2000ms, in 50ms steps) holds the transition before it starts; hover states almost always want 0.

  5. Copy the declaration

    The output reads transition: all 300ms ease-in-out 0ms with your values, and one Copy click puts it on your clipboard. To animate one property only, change all to opacity or transform after pasting.

  6. Close the tab when you are done

    Nothing is stored: the timing values live in your browser, and closing the tab discards them.

That is the entire surface: three controls and one line of CSS.

How the generator writes the shorthand

The generator maps its controls one-to-one onto the transition shorthand: duration becomes the first time value, delay the second, and the easing select writes its keyword (ease, ease-in-out, linear) or a cubic-bezier() function. A 300ms ease-in-out transition with no delay is written as transition: all 300ms ease-in-out 0ms, timing that a prefers-reduced-motion media query can dial down for motion-sensitive users.

One slot has no control behind it: the property name is always all, so every animatable change on the element moves together. Narrow it to opacity or transform by hand after pasting when only one thing should move.

A worked transition you can check by hand

Here is the check-by-hand version: set duration 300ms, easing ease-in-out, delay 0, and the output reads exactly the declaration below. Paste it on a button whose :hover changes opacity, swapping all for opacity if you want only the fade, and the fade takes exactly 300ms, no faster on a fast machine and no slower on a phone, because durations are time-based rather than frame-based.

transition: all 300ms ease-in-out 0ms;

Who reaches for a transition generator

Frontend developers and UX engineers settle most of their motion budget with two decisions: a 150ms ease-out on a dropdown and a 300ms ease-in-out on a modal are the difference between snappy and sluggish. The generator keeps the whole decision in one place: nudge the duration, read the shorthand it writes, and copy the winner into the component.

Honest limits and edge cases

  • display: none cannot fade: non-animatable properties jump in one step. Use the transition-behavior: allow-discrete hint, or a class toggle plus timeout, for enter and exit animations.
  • No looping: transitions run once per state change, so cyclic motion needs the animation generator and @keyframes instead.
  • No animated preview: the tool writes the declaration as text and does not demo it on a sample element, so judge the timing on your own page after pasting.
  • The property slot is fixed at all: there is no property picker, so scoping to opacity or transform is a one-word edit after pasting.

The first two limits come from the platform, not the tool: the generator writes valid shorthand for whatever values you pick, and the browser's animation model decides what can interpolate. When a property refuses to animate, the fix is a different property, usually opacity or transform, not different syntax.

Your motion values never leave the browser

The values you tune here, durations, delays and easing curves, are UI polish, but they are also work product: they reveal what you are building before you announce it. They never leave the tab, because parsing and output run locally in your browser and no server sits at the other end of the paste.

Transition generator versus easing cheat-sheets

AlternativeWhere it winsWhere this tool wins
Easing cheat-sheet sites (easings.net)Every named curve demoed side by side, with the cubic-bezier values printed for eachCombines easing with duration and delay into one ready declaration; the cheat sheet tells you the curve, this page hands you the finished rule
Transition-generator one-pagersSome preview the animated property itself, not just the CSSKeeps the whole surface to three controls and prints the shorthand with zero clutter, plus the worked examples and gotchas on this page
Browser DevTools element inspectorTweaks transitions on your real page and replays them with the animations pane openBuilds the declaration before the page exists and copies it in one click, with no Styles-pane archaeology to get the shorthand out

Cheat sheets win on breadth of curves and DevTools wins on real pages. This page wins on delivering the finished declaration in fifteen seconds.

Tips, gotchas and quick fixes

Two habits and two gotchas cover most of the day-to-day value.

  • Start from the default timing: the 300ms ease-in-out default is a known input with a known output that validates your understanding in ten seconds before you trust the tool with real motion decisions.
  • Chain tools when a workflow needs more than one step: the related-tools links below are ordered by what people typically combine, and the CSS copies with one click.

When a transition behaves unexpectedly, the causes are usually one of these:

  • The hover feels dead: check the delay control. A 300ms delay on a 150ms transition reads as a bug, not an effect, and delay should almost always stay 0 for hover states.
  • The animation looks janky: transition transform and opacity rather than top, left or width. The compositor handles the first two without layout recalcs.

Errors do happen, from an odd browser to an edge-case input. The contact page funnels them straight to the maintainers.

Frequently asked questions

These are the questions people actually search about transition generators, answered directly. If yours is missing, the contact page takes feature and question requests.

Does the CSS Transition Generator work on mobile?

Yes. The controls are sized for touch, the layout adapts from phone to desktop, and the declaration updates as you adjust. Any modern browser, including iOS Safari, Android Chrome, Firefox and Edge, is supported.

Do you store what I enter into the CSS Transition Generator?

No, and this is checkable rather than a promise: open the dev-tools network panel while using the generator and watch the empty request list. Client-side processing means your timing values are never transmitted or stored.

Is the CSS Transition Generator free to use?

No fee and no account: the page is free to use as often as your work needs. It runs entirely in your browser, so each extra use costs this site nothing and costs you nothing either. Tune as many transitions as the job requires.

Which CSS properties can the transition target?

Any continuously animatable property: opacity, transform, color, background-color, width and friends. The generator writes transition: all so every animatable change moves together; to scope it to one property, replace all with the property name (for example transition: opacity 300ms ease-in-out) after pasting.

Tools that pair well with motion work

Motion work rarely stops at one declaration: these are the tools a timing decision usually feeds.

  • CSS Animation Generator: the sibling motion tool; transitions for one-way state changes, @keyframes for looping, choreographed motion.
  • CSS Box Shadow Generator: hover elevation is the classic transition target; generate the shadow, then transition it.
  • Color Converter (HEX/RGB/HSL): convert the colours your hover states move between before locking the timing.
  • CSS Grid Generator: the card layout the hover states live on, built with the same copy flow.

Sources for the transition details

Start from the 300ms ease-in-out default, copy the declaration into the component that needs it, and test your hover and focus states in the browser. The timing is time-based, so what felt right in the tool is exactly what users get. If a state change needs to repeat or run in reverse, reach for the animation generator instead; transitions are strictly one-way trips.

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.