You can quickly style the border and border-radius of an element. It can be used for images, buttons, or any other element.

1. Adding Borders

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

2. Adding Borders using Reverse

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

3. Border Color

You can change the border color using any of the contextual colors. For example,

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

4. Border Radius

You can add classes to an element to easily round its corners. For example,

<img src="/..." alt="..." class="rounded">
<img src="/..." alt="..." class="rounded-top">
<img src="/..." alt="..." class="rounded-right">
<img src="/..." alt="..." class="rounded-bottom">
<img src="/..." alt="..." class="rounded-left">
<img src="/..." alt="..." class="rounded-circle">
<img src="/..." alt="..." class="rounded-pill">
<img src="/..." alt="..." class="rounded-0">

5. Size

Use .rounded-lg or .rounded-sm for larger or smaller border-radius. For example,

<img src="/..." alt="..." class="rounded-sm">
<img src="/..." alt="..." class="rounded-lg">