Skip to main content
Version: 9.1

Borders

Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element.

Additive

<span class="hf-border"></span>
<span class="hf-border-top"></span>
<span class="hf-border-right"></span>
<span class="hf-border-bottom"></span>
<span class="hf-border-left"></span>
<span class="hf-border-2"></span>
<span class="hf-border-top-2"></span>
<span class="hf-border-right-2"></span>
<span class="hf-border-bottom-2"></span>
<span class="hf-border-left-2"></span>

Subtractive

<span class="hf-border-top-0"></span>
<span class="hf-border-right-0"></span>
<span class="hf-border-bottom-0"></span>
<span class="hf-border-left-0"></span>

Border Color

<span class="hf-border hf-border-primary"></span>
<span class="hf-border hf-border-secondary"></span>
<span class="hf-border hf-border-success"></span>
<span class="hf-border hf-border-warning"></span>
<span class="hf-border hf-border-danger"></span>
<span class="hf-border hf-border-error"></span>
<span class="hf-border hf-border-info"></span>
<span class="hf-border hf-border-light"></span>
<span class="hf-border hf-border-dark"></span>

Border Radius

<span class="hf-rounded"></span>
<span class="hf-rounded-top"></span>
<span class="hf-rounded-right"></span>
<span class="hf-rounded-bottom"></span>
<span class="hf-rounded-left"></span>
<span class="hf-rounded-circle"></span>
<span class="hf-rounded-0"></span>