Borders

border-radius to Tailwind

Radii are named rather than numeric — rounded-lg, not rounded-8 — and the corner and side variants follow the same names.

The 10 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 border-radius.

border-radius values and their classes

CSSTailwind
border-radius: 0;rounded-none
border-radius: 0.125rem;rounded-xs
border-radius: 0.25rem;rounded-sm
border-radius: 0.375rem;rounded-md
border-radius: 0.5rem;rounded-lg
border-radius: 0.75rem;rounded-xl
border-radius: 1rem;rounded-2xl
border-radius: 1.5rem;rounded-3xl
border-radius: 2rem;rounded-4xl
border-radius: calc(infinity * 1px);rounded-full

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.

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