Borders

border-style to Tailwind

Maps to border-* style names, which share the border- prefix with widths and colours.

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 border-style.

border-style values and their classes

CSSTailwind
border-style: dashed;border-dashed
border-style: dotted;border-dotted
border-style: double;border-double
border-style: hidden;border-hidden
border-style: none;border-none
border-style: solid;border-solid

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