HTML CSS examples for Bootstrap:Progress Bar
Progress Bar with context
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Example of Bootstrap 3 Progress Bar</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <!-- w w w . j av a 2 s . co m--> <body> <div> <div class="progress"> <div class="progress-bar progress-bar-success" style="width: 40%"> <span class="sr-only">Program Files (40%)</span> </div> <div class="progress-bar progress-bar-warning" style="width: 25%"> <span class="sr-only">Residual Files (25%)</span> </div> <div class="progress-bar progress-bar-danger" style="width: 15%"> <span class="sr-only">Junk Files (15%)</span> </div> </div> <hr> <div class="progress"> <div class="progress-bar progress-bar-success" style="width: 40%"> Program Files (40%) </div> <div class="progress-bar progress-bar-warning" style="width: 25%"> Residual Files (25%) </div> <div class="progress-bar progress-bar-danger" style="width: 15%"> Junk Files (15%) </div> </div> </div> </body> </html>