Borders

outline-width to Tailwind

Mirrors border widths: unprefixed numbers, with the bare outline as the 1px default.

The 6 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 outline-width.

outline-width values and their classes

CSSTailwind
outline-width: 0;outline-0
outline-width: 1px;outline
outline-width: 1px;outline-1
outline-width: 2px;outline-2
outline-width: 4px;outline-4
outline-width: 8px;outline-8

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.

outline-[your value]

Other borders 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