Border

LeptonX uses Bootstrap Border's component's latest version.
Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element. Use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.

Additive

Preview
HTML
<span class="border"></span>
<span class="border-top"></span>
<span class="border-end"></span>
<span class="border-bottom"></span>
<span class="border-start"></span>
 

Subtractive

Preview
HTML
<span class="border-0"></span>
<span class="border-top-0"></span>
<span class="border-end-0"></span>
<span class="border-bottom-0"></span>
<span class="border-start-0"></span>
 

Border color

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

Preview

HTML
<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-info"></span>
<span class="border border-light"></span>
<span class="border border-dark"></span>
<span class="border border-white"></span>
<br />
<span class="border-start border-primary"></span>
<span class="border-top border-secondary"></span>
<span class="border-end border-success"></span>
<span class="border-bottom border-danger"></span>
<span class="border-bottom border-warning"></span>
<span class="border-start border-info"></span>
<span class="border-top border-light"></span>
<span class="border-end border-dark"></span>
 

Border radius

Add classes to an element to easily round its corners.

Preview
HTML
<span class="border border-primary rounded"></span>
<span class="border border-primary rounded-0"></span>
<span class="border border-primary rounded-top"></span>
<span class="border border-primary rounded-start"></span>
<span class="border border-primary rounded-bottom"></span>
<span class="border border-primary rounded-end"></span>
 

Border width

Preview
HTML
<span class="border border-1"></span>
<span class="border border-2"></span>
<span class="border border-3"></span>
<span class="border border-4"></span>
<span class="border border-5"></span>