Borders
Utilities for controlling border and outline CSS properties.
Border width
Class
Property
Value
border-0border-width0borderborder1px solidborder-2border-width2pxDirectional borders
Class
Property
border-tborder-top: 1px solidborder-bborder-bottom: 1px solidborder-lborder-left: 1px solidborder-rborder-right: 1px solidborder-t-0border-top-width: 0border-b-0border-bottom-width: 0border-l-0border-left-width: 0border-r-0border-right-width: 0Border style
Class
border-style
border-solidsolidborder-dasheddashedborder-dotteddottedborder-nonenoneBorder color
Class
border-color
border-transparenttransparentborder-currentcurrentColorOutline
Class
Property
Value
outline-noneoutlinenoneoutlineoutline1px solid currentColorExamples
html
<!-- Basic border -->
<div class="border radius-4 pa-4">With border</div>
<!-- Bottom border only -->
<div class="border-b pa-2">Underlined element</div>
<!-- Dashed border for drop zone -->
<div class="border border-dashed border-current radius-4 pa-4 op-5">
Drop zone
</div>
<!-- Remove button outline -->
<button class="outline-none">No outline</button>
<!-- Left border (blockquote style) -->
<blockquote class="border-l border-2 pl-4">
A quote
</blockquote>