Transitions

transition-duration to Tailwind

Durations are the millisecond count: transition-duration: 150ms is duration-150.

The 8 mappings below are read straight out of Tailwind v4.3.3, not maintained by hand, so this is what the converter will actually produce for transition-duration.

transition-duration values and their classes

CSSTailwind
transition-duration: 75ms;duration-75
transition-duration: 100ms;duration-100
transition-duration: 150ms;duration-150
transition-duration: 200ms;duration-200
transition-duration: 300ms;duration-300
transition-duration: 500ms;duration-500
transition-duration: 700ms;duration-700
transition-duration: 1000ms;duration-1000

Values that are not on the scale

Anything without a named class is written as an arbitrary value in square brackets. The converter falls back to this rather than rounding your CSS to the nearest class, because silently changing a value is worse than an ugly class name.

duration-[your value]

Other transitions properties

Converting a whole stylesheet?

Paste it into the converter and get every rule at once, shorthands expanded, media queries turned into breakpoint variants, and the parts that have no Tailwind equivalent flagged rather than dropped.

Open the converter