Bootstrap progress-bar class



Use the progress-bar class in Bootstrap to create a progress bar.

You can try to run the following code to implement progress-bar class 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>       <div class = "progress">          <div class = "progress-bar" role = "progressbar" aria-valuenow = "70"          aria-valuemin = "0" aria-valuemax = "100" style = "width: 70%;">             <span class = "sr-only">70% Complete</span>          </div>       </div>    </body> </html>
Updated on: 2020-06-15T06:36:49+05:30

273 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements