Skip to main content
Version: v2

Border Width

Usage

Please refer to the

documentation on the Tailwind CSS website

Compatibility

ClassNative (StyleSheet)Web (CSS)
border
border-{n}
border-[n]
border-x
border-x-{n}
border-x-[n]
border-y
border-y-{n}
border-y-[n]
border-t
border-t-{n}
border-t-[n]
border-r
border-r-{n}
border-r-[n]
border-b
border-b-{n}
border-b-[n]
border-l
border-l-{n}
border-l-[n]
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

Full support

✔️ Partial support

Not supported