Borders

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

Border

Use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.

Additive

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

Subtractive

<div class="avatar avatar-xxl">
  <span class="avatar-title rounded-circle">FT</span>
</div>

<div class="avatar avatar-xl">
  <span class="avatar-title rounded-circle">FT</span>
</div>

<div class="avatar avatar-lg">
  <span class="avatar-title rounded-circle">FT</span>
</div>

<div class="avatar">
  <span class="avatar-title rounded-circle">FT</span>
</div>

<div class="avatar avatar-sm">
  <span class="avatar-title rounded-circle">FT</span>
</div>

<div class="avatar avatar-xs">
  <span class="avatar-title rounded-circle">FT</span>
</div>

Border color

Change the border color using utilities built on our theme colors.

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