Bootstrap 進度類


請在 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>

更新於:2020 年 6 月 12 日

139 人次瀏覽

啟動您的職業生涯

透過完成課程獲得認證

立即開始
廣告
© . All rights reserved.