Also see the official documentation
Documentation and examples for using Bootstrap custom progress bars featuring support for stacked bars, animated backgrounds, and text labels.
Progress components are built with two HTML elements, some CSS to set the width, and a few attributes.
.progress
as a wrapper to indicate the max value of the progress bar..progress-bar
to indicate the progress so far..progress-bar
requires an inline style, utility class, or custom CSS to set their width..progress-bar
also requires some role
and aria
attributes to make it accessible.Except of standart progress-bar, there is a small version of it. If it is necessary to use one, just use the .progress-sm
class.
Text captions on edges and current progress position.
Use background utility classes to change the appearance of individual progress bars.
Use .progress-reverse
class for moving the progress to the reverse direction.