Progress
Documentation and examples for using Bootstrap custom progress bars featuring support for stacked bars, animated backgrounds, and text labels.
Examples
Progress components are built with two HTML elements, some CSS to set the width, and a few attributes.
We don’t use the HTML5 progress
element, ensuring you can stack progress bars, animate
them, and place text labels over them.
.progress.primary
.progress.secondary
.progress.red
.progress.green
.progress.blue
.progress.yellow
.progress.white
.progress.black
Also works with .progress-sm
class and the markup in the example below.
.progress.progress-sm .primary
Striped
Add .progress-bar-striped
to any .progress-bar
to apply a stripe via CSS
gradient over the progress bar’s background color.
.progress.primary .progress-bar-striped
.progress.secondary .progress-bar-striped
.progress.red .progress-bar-striped
.progress.green .progress-bar-striped
.progress.blue .progress-bar-striped
.progress.yellow .progress-bar-striped
.progress.white .progress-bar-striped
.progress.black .progress-bar-striped
Animated
.progress.primary .progress-bar-striped .progress-bar-animated
.progress.secondary .progress-bar-striped .progress-bar-animated
.progress.red .progress-bar-striped .progress-bar-animated
.progress.green .progress-bar-striped .progress-bar-animated
.progress.blue .progress-bar-striped .progress-bar-animated
.progress.yellow .progress-bar-striped .progress-bar-animated
.progress.white .progress-bar-striped .progress-bar-animated
.progress.black .progress-bar-striped .progress-bar-animated