Bootstrap Border Class
In this article, we will see about the bootstrap border class
Types of Bootstrap Classes
Border
- It sets( 1 pixel solid light gray) border on all sides of an HTML element.
Border-top
- It sets( 1 pixel solid light gray) only the top border to an HTML element.
Border-right
- It sets( 1 pixel solid light gray) only the right border to an HTML element.
Border-bottom
- It sets( 1 pixel solid light gray) only the bottom border to an HTML element.
Border-left
- It sets( 1 pixel solid light gray) only the left border to an HTML element.
Examples:
<div class="m-3 border"> some Text</div>
<div class="m-3 border-top"> some Text</div>
<div class="m-3 border-right"> some Text</div>
<div class="m-3 border-bottom"> some Text</div>
Output: