A user can see how far along they are in a process by using a progress bar.
To build a default progress bar, add a .progress class to a container element and add the .progress-barclass to its child element. To adjust the progress bar’s width, use the CSS width property:
Example
Progress Bar Height
By default, the progress bar’s height is 1rem, or 16px. To adjust it, use the CSS heightproperty:
Example
Progress Bar Labels
To display the visible percentage, add text inside the progress bar as follows:
Example
70%
Colored Progress Bars
The progress bar is blue (primary) by default. To alter its color, apply any of the Bootstrap 4 contextual background classes:
Example
Striped Progress Bars
To give the progress bars stripes, use the .progress-bar-striped class:
Example
Animated Progress Bar
==== Animated Progress Bar ====
To make the progress bar animate, add the .progress-bar-animated class: