Examples
A progress bar can be used to show a user how far along he/she is in a process.
Height
We only set a height
value on the .progress
, so if you change that value the inner .progress-bar
will automatically resize accordingly.
Use .progress-sm
,.progress-md
,.progress-lg
,.progress-xl
classes.
Multiple bars
Include multiple progress bars in a progress component if you need.
Animated stripes
The striped gradient can also be animated. Add .progress-bar-animated
to .progress-bar
to animate the stripes right to left via CSS3 animations.
Labels
Add labels to your progress bars by placing text within the .progress-bar
.
Backgrounds
Use background utility classes to change the appearance of individual progress bars.
Striped
Add .progress-bar-striped
to any .progress-bar
to apply a stripe via CSS gradient over the progress bar’s background color.