HTML CSS examples for Bootstrap:Progress Bar
Progress Bar striped 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> <!--from w w w . j a va 2s . c o m--> <body> <div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-info" style="width: 20%"> <span class="sr-only">20% Used</span> </div> </div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-success" style="width: 40%"> <span class="sr-only">40% Used</span> </div> </div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-warning" style="width: 80%"> <span class="sr-only">80% Used</span> </div> </div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-danger" style="width: 90%"> <span class="sr-only">90% Used</span> </div> </div> <hr> <div class="progress progress-striped"> <div class="progress-bar progress-bar-info" style="width: 20%"> Disk Space: 80% free </div> </div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-success" style="width: 40%"> Enough Disk Space: 60% free </div> </div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-warning" style="width: 80%"> Low Disk Space: 80% full </div> </div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-danger" style="width: 90%"> Not Enough Disk Space: 90% full </div> </div> </div> </body> </html>