Skip to content

Utilities

Borders

Note, borders are show in red to indicate effect.

Additive

Placeholder image Placeholder image Placeholder image Placeholder image Placeholder image

<img src="https://placehold.co/75x75" alt="Placeholder image" class="border">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border-top">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border-right">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border-bottom">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border-left">

Subtractive

Placeholder image Placeholder image Placeholder image Placeholder image Placeholder image

<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-0">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-top-0">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-right-0">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-bottom-0">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-left-0">

Border color

Placeholder image Placeholder image Placeholder image Placeholder image Placeholder image Placeholder image Placeholder image Placeholder image Placeholder image

<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-primary">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-secondary">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-success">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-danger">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-warning">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-info">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-light">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-dark">
<img src="https://placehold.co/75x75" alt="Placeholder image" class="border border-white">

Close Button

<button type="button" class="close" aria-label="Close" style="float: none;">
	<span aria-hidden="true">&times;</span>
</button>

Colors

.text-primary

.text-secondary

.text-success

.text-danger

.text-warning

.text-info

.text-light

.text-dark

.text-body

.text-muted

.text-white

.text-black-50

.text-white-50

<p class="text-primary">.text-primary</p>
<p class="text-secondary">.text-secondary</p>
<p class="text-success">.text-success</p>
<p class="text-danger">.text-danger</p>
<p class="text-warning">.text-warning</p>
<p class="text-info">.text-info</p>
<p class="text-light bg-dark">.text-light</p>
<p class="text-dark">.text-dark</p>
<p class="text-body">.text-body</p>
<p class="text-muted">.text-muted</p>
<p class="text-white bg-dark">.text-white</p>
<p class="text-black-50">.text-black-50</p>
<p class="text-white-50 bg-dark">.text-white-50</p>

With Links

Primary link

Secondary link

Success link

Danger link

Warning link

Info link

Light link

Dark link

Muted link

White link

<p><a href="#" class="text-primary">Primary link</a></p>
<p><a href="#" class="text-secondary">Secondary link</a></p>
<p><a href="#" class="text-success">Success link</a></p>
<p><a href="#" class="text-danger">Danger link</a></p>
<p><a href="#" class="text-warning">Warning link</a></p>
<p><a href="#" class="text-info">Info link</a></p>
<p><a href="#" class="text-light bg-dark">Light link</a></p>
<p><a href="#" class="text-dark">Dark link</a></p>
<p><a href="#" class="text-muted">Muted link</a></p>
<p><a href="#" class="text-white bg-dark">White link</a></p>

Background color

.bg-primary
.bg-secondary
.bg-success
.bg-danger
.bg-warning
.bg-info
.bg-light
.bg-dark
.bg-white
.bg-transparent
<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
<div class="p-3 mb-2 bg-info text-white">.bg-info</div>
<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
<div class="p-3 mb-2 bg-transparent text-dark">.bg-transparent</div>

Shadows

No shadow
Shadow 1
Shadow 2
Shadow 3
Shadow 4
Shadow 6
Shadow 8
Shadow 9
<div class="shadow-none p-3 mb-5 bg-light rounded">No shadow</div>
<div class="shadow-1 p-3 mb-5 bg-white rounded">Shadow 1</div>
<div class="shadow-2 p-3 mb-5 bg-white rounded">Shadow 2</div>
<div class="shadow-3 p-3 mb-5 bg-white rounded">Shadow 3</div>
<div class="shadow-4 p-3 mb-5 bg-white rounded">Shadow 4</div>
<div class="shadow-6 p-3 mb-5 bg-white rounded">Shadow 6</div>
<div class="shadow-8 p-3 mb-5 bg-white rounded">Shadow 8</div>
<div class="shadow-9 p-3 mb-5 bg-white rounded">Shadow 9</div>