Progress bar is a graphical control element used to visualize the progression of an operation such as a download, file transfer, or installation. Bootstrap progress bars features support for stacked bars, animated backgrounds, and text labels.
Progress components are built with two HTML elements. Create a wrapper element and add .progress to the to indicate the max value of the progress bar and .progress-bar class to child element which indicates the progress so far.
You can set the width of progress bar using inline style, utility class, or custom CSS to set their width.
Set the width using css style attribute.
.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.You also can set width using the bootstrap utilities for setting the width.
You can add labels to your progress bars by placing text within the .progress-bar.
Set height of the wrapper element(element where .progress class is added) using inline-style or custom css.
Use background utility classes to change the appearance of individual progress bars.
.bg-success.bg-info.bg-warning.bg-dangerInclude multiple progress bars in a progress component by creating multiple child elements with .progress-bar class.
Add .progress-bar-striped to any .progress-bar to apply a stripe via CSS gradient over the progress bar's background color.
To animate the striped gradient add .progress-bar-animated to .progress-bar which animate the stripes right to left via CSS3 animations.
