Bootstrap Borders

Border utility is used to quickly change the border-style and border-radius of an element. It is mainly used for images, buttons, or any other element.

You can use the border classes to an element to remove all borders or some borders.

Example -

Border Color

You can set the color for an element's border by using the theme colors as shown in the below example −

Example -

Border Radius

You can add the rounded corners to an element by using the classes (rounded-top, rounded-right etc) as shown in the below example −

Example -