Borders
Bootstrap borders
Note: This documentation is for an older version of Bootstrap (v.4). A
newer version is available for Bootstrap 5. We recommend migrating to the latest version of our product - Material Design for
Bootstrap 5.
Go to docs v.5
You can use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element.
Border
You may use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.
Additive
Subtractive
Use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.
Border color
Also, change the border color using utilities built on our theme colors.
Border-radius
Finally, you can add classes to an element to easily round its corners.
Sizes
Use .rounded-lg
or .rounded-sm
for larger or smaller border-radius.