Border

Sets an element's border


Usage

Add border-* class to block or inline block element.

<div class="border-width">
    // Your content
</div>

Classes

ClassValue
border-widthvar(--border-width)
border-width-thinvar(--border-width-thin)
border-width-thickvar(--border-width-thick)
border-width-remove-all
border-width-remove-vertical
border-width-remove-horizontal
border-width-remove-top
border-width-remove-right
border-width-remove-bottom
border-width-remove-left
border-radius-1/2calc(100% * 1 / 2.0)
border-radius-1/3calc(100% * 1 / 3.0)
border-radius-1/4calc(100% * 1 / 4.0)
border-radius-1/5calc(100% * 1 / 5.0)
border-radius-1/6calc(100% * 1 / 6.0)
border-radius-2xsmallvar(--border-radius-2xsmall)
border-radius-xsmallvar(--border-radius-xsmall)
border-radius-mediumvar(--border-radius-medium)
border-radius-largevar(--border-radius-large)
border-radius-remove-all
border-radius-remove-top-left
border-radius-remove-top-right
border-radius-remove-bottom-right
border-radius-remove-bottom-left
border-style-none
border-style-hidden
border-style-solid
border-style-dotted
border-style-dashed
border-style-double
border-style-groove
border-style-ridge
border-style-inset
border-style-outset
 

Add @s, @m, or @l suffix to support breakpoints

Table of contents