Utilities for borders, border radius, and box shadows.
{:toc}
## Default border
The default border utility applies a solid, 1px border, with a default gray color.
```html
<divclass="border">
.border
</div>
```
Borders can be applied to a specific edge or to the Y axis.
```html
<divclass="d-flex mb-3">
<divclass="border-left col-3">
.border-left
</div>
<divclass="border-top col-3">
.border-top
</div>
<divclass="border-bottom col-3">
.border-bottom
</div>
<divclass="border-right col-3">
.border-right
</div>
</div>
<divclass="border-y">
.border-y
</div>
```
Remove borders from all sides or a single side with `.border-0`, `.border-top-0`, `.border-right-0`, `.border-bottom-0`, `.border-left-0`.
```html
<divclass="Box border-top-0">
.border-top-0
</div>
```
## Border colors
Override default border colors with blue, green, red, purple, yellow, and gray border color utilities.
```html
<divclass="border border-blue mb-2">
.border-blue
</div>
<divclass="border border-blue-light mb-2">
.border-blue-light
</div>
<divclass="border border-green mb-2">
.border-green
</div>
<divclass="border border-green-light mb-2">
.border-green-light
</div>
<divclass="border border-red mb-2">
.border-red
</div>
<divclass="border border-red-light mb-2">
.border-red-light
</div>
<divclass="border border-purple mb-2">
.border-purple
</div>
<divclass="border border-yellow mb-2">
.border-yellow
</div>
<divclass="border border-gray-light mb-2">
.border-gray-light
</div>
<divclass="border border-gray-dark mb-2">
.border-gray-dark
</div>
```
### Borders with alpha transparency
Use `border-black-fade` to add an rgba black border with an alpha transparency of `0.15`. This is useful when you want a border that tints the background color. The shade of black we use matches the hue of the GitHub dark header and our gray color palette: `rgba(27,31,35, 0.15)`.
Use the following utilities to add or remove rounded corners: `rounded-0` removes rounded corners, `rounded-1` applies a border radius of 3px, `rounded-2` applies a border radius of 6px. `.circle` applies a border radius of 50%, which turns square elements into perfect circles.