Bootstrap progress-striped class

BootstrapWeb DevelopmentCSS Framework

The progress-striped class is used to form a striped progress bar in Bootstrap.

You can try to run the following code to create a striped progress bar in Bootstrap

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <h2>Striped Progress Bars</h2>
      <h3>Success Progress Bar</h3>
      <div class = "progress progress-striped">
         <div class = "progress-bar progress-bar-success" role = "progressbar"
            aria-valuenow = "45" aria-valuemin = "0" aria-valuemax = "100" style="width: 45%;">
            <span class = "sr-only">45%Complete (success)</span>
         </div>
      </div>
      <h3>Info Progress Bar</h3>
      <div class = "progress progress-striped">
         <div class = "progress-bar progress-bar-info" role = "progressbar"
            aria-valuenow = "80" aria-valuemin = "0" aria-valuemax = "100" style = "width: 80%;">
            <span class = "sr-only">80% Complete (info)</span>
         </div>
      </div>
   </body>
</html>
raja
Published on 20-Jun-2018 14:10:57
Advertisements