Transforms
rotate to Tailwind
Degree values map directly, with the sign as a prefix:rotate-45, -rotate-45.The 18 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 rotate.
rotate values and their classes
| CSS | Tailwind |
|---|---|
| rotate: -180deg; | -rotate-180 |
| rotate: -90deg; | -rotate-90 |
| rotate: -45deg; | -rotate-45 |
| rotate: -12deg; | -rotate-12 |
| rotate: -6deg; | -rotate-6 |
| rotate: -3deg; | -rotate-3 |
| rotate: -2deg; | -rotate-2 |
| rotate: -1deg; | -rotate-1 |
| rotate: 0deg; | rotate-0 |
| rotate: 1deg; | rotate-1 |
| rotate: 2deg; | rotate-2 |
| rotate: 3deg; | rotate-3 |
| rotate: 6deg; | rotate-6 |
| rotate: 12deg; | rotate-12 |
| rotate: 45deg; | rotate-45 |
| rotate: 90deg; | rotate-90 |
| rotate: 180deg; | rotate-180 |
| rotate: none; | rotate-none |
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.
rotate-[your value]Other transforms 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