Transforms

transform-origin to Tailwind

The nine keyword origins map to origin-*.

The 9 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 transform-origin.

transform-origin values and their classes

CSSTailwind
transform-origin: 0;origin-left
transform-origin: 0 0;origin-top-left
transform-origin: 0 100%;origin-bottom-left
transform-origin: 100%;origin-right
transform-origin: 100% 0;origin-top-right
transform-origin: 100% 100%;origin-bottom-right
transform-origin: bottom;origin-bottom
transform-origin: center;origin-center
transform-origin: top;origin-top

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.

origin-[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