.bg-primary
.bg-secondary
.bg-success
.bg-danger
.bg-warning
.bg-info
.bg-light
.bg-dark
.bg-body
.bg-white
.bg-transparent
[Try it Yourself Β»](#)
The .bg-gradient class can set the background color gradient effect:
## Example
.bg-primary
.bg-secondary
.bg-success
.bg-danger
.bg-warning
.bg-info
.bg-light
.bg-dark
.bg-body
.bg-white
.bg-transparent
[Try it Yourself Β»](#)
* * *
## Borders
We can use border related classes to display borders as needed:
!(#)
## Example
[Try it Yourself Β»](#) The .border-1 to .border-5 classes are used to set the border width: ## Example [Try it Yourself Β»](#) The following sets different border colors: ## Example [Try it Yourself Β»](#) The **rounded** related classes are used to set rounded corners: !(#) ## Example
<span class="float
YouTip