Bootstrap 进度类

bootstrapweb developmentcss framework

使用 Bootstrap 中的 .progress  类创建进度条。该类是进度条的容器。

您可以尝试运行以下代码在 Bootstrap 中实现进度类

示例

<!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 = "90"
            aria-valuemin = "0" aria-valuemax = "100" style = "width: 90%;">
            <span class = "sr-only">90% Complete</span>
         </div>
      </div>
   </body>
</html>

相关文章