Transitions
animation to Tailwind
Four named animations ship by default (animate-spin, animate-ping, animate-pulse, animate-bounce); your own keyframes need theme config.The 5 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 animation.
animation values and their classes
| CSS | Tailwind |
|---|---|
| animation: bounce 1s infinite; | animate-bounce |
| animation: none; | animate-none |
| animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; | animate-ping |
| animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; | animate-pulse |
| animation: spin 1s linear infinite; | animate-spin |
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.
animate-[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