Last updated on September 14, 2026

Border Style

Edit

Usage

Please refer to the documentation on the Tailwind CSS website

RC notes

Use border-0 to remove a native border by setting its width. The CSS border-none style is rejected.

Compatibility

Support applies to the documented values and platforms. See the RC compatibility notes for value limits and native migration alternatives. Browser behavior is evaluated separately.

ClassSupport
border-solid
โœ… Supported
border-dashed
โœ… Supported
border-dotted
โœ… Supported
border-none
Not supported on native
border-double
๐ŸŒ Web only
border-hidden
๐ŸŒ Web only
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

โœ… Supported

โœ”๏ธ Partial support on native

๐Ÿงช Experimental support on native

๐Ÿ“ฑ Native only

Not supported on native: rejected by the native CSS engine

๐ŸŒ Web only

On this page