Bootstrap Progress Bar : Is used to show user’s task progress.
Different types of progress bars are available in the Bootstrap.
A simple and default Progress bar is :
Bootstrap Progress Bar: Basic Example
<div class="container"> <h3>Basic Progress Bar</h3> <div class="progress"> <div class="progress-bar amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed </div> </div> </div> |
Progress Bar Colored :
Following are the classes used for the colored Progress Bar.
.progress-bar-info
.progress-bar-warning
.progress-bar-success
.progress-bar-danger
Progress Bar Colored : Example
<div class="container"> <h3>Colored Progress Bar</h3> <div class="progress"> <div class="progress-bar progress-bar-info amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [Info bar] </div> </div> <div class="progress"> <div class="progress-bar progress-bar-warning amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [warning] </div> </div> <div class="progress"> <div class="progress-bar progress-bar-success amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [success] </div> </div> <div class="progress"> <div class="progress-bar progress-bar-danger amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [danger] </div> </div> </div> |
Bootstrap Progress Bar Striped :
Add the following class for the stripped progress bar.
.progress-bar-striped
Bootstrap Progress Bar: Striped Example
<div class="container"> <h3>Colored Progress Bar</h3> <div class="progress"> <div class="progress-bar progress-bar-info progress-bar-striped amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [Info bar] </div> </div> <div class="progress"> <div class="progress-bar progress-bar-warning progress-bar-striped amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [warning] </div> </div> <div class="progress"> <div class="progress-bar progress-bar-success progress-bar-striped amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [success] </div> </div> <div class="progress"> <div class="progress-bar progress-bar-danger progress-bar-striped amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [danger] </div> </div> </div> |
Progress Bar Animated :
Add the following class for the animated progress bar.
.active
Bootstrap Progress Bar: Animated Example
<div class="container"> <h3>Animated Progress Bar</h3> <div class="progress"> <div class="progress-bar progress-bar-info progress-bar-striped active amp-wp-inline-7688ad84a365c45101a398cade05dd28" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"> 60% Completed - [Animated] </div> </div> </div> |