Sign in


Sign up


Borders

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


Border

Add classes to an element to remove all borders or some borders.

                
<span className="border border-dark"></span>

<span className="border-0 border-dark"></span>

<span className="border border-dark border-top-0"></span>

<span className="border border-dark border-right-0"></span>

<span className="border border-dark border-bottom-0"></span>

<span className="border border-dark border-left-0"></span>

            

Border color

            
<span className="border border-primary"></span>

<span className="border border-secondary"></span>

<span className="border border-success"></span>

<span className="border border-danger"></span>

<span className="border border-warning"></span>

<span className="border border-info"></span>

<span className="border border-light"></span>

<span className="border border-dark"></span>
            
            

Border-radius

Add classes to an element to easily round its corners.

100x100 100x100 100x100 100x100 100x100 100x100 100x100
                
<img src="..." alt="..." className="rounded">
<img src="..." alt="..." className="rounded-top">
<img src="..." alt="..." className="rounded-right">
<img src="..." alt="..." className="rounded-bottom">
<img src="..." alt="..." className="rounded-left">
<img src="..." alt="..." className="rounded-circle">
<img src="..." alt="..." className="rounded-0">