Articles → BOOTSTRAP → Colored Progress Bar In Bootstrap

Colored Progress Bar In Bootstrap






Example


<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <meta charset="utf-8" />
      <title></title>
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
   </head>
   <body>
      <div class="progress">
         <div class="progress-bar progress-bar-success" style="width:30%">   
            30%        
         </div>
      </div>
      <div class="progress">
         <div class="progress-bar progress-bar-info" style="width:30%">        
            30%       
         </div>
      </div>
      <div class="progress">
         <div class="progress-bar progress-bar-warning" style="width:30%">         
            30%        
         </div>
      </div>
      <div class="progress">
         <div class="progress-bar progress-bar-danger" style="width:30%">            
            30%        
         </div>
      </div>
   </body>
</html>



Output


Picture showing the output of colored progress bar in bootstrap
Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Thursday, October 7, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250