Bootstrap进度条类
进度条化类用于在Bootstrap中形成条状进度条。
您可以尝试运行以下代码以在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>
<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>
以上是 Bootstrap进度条类 的全部内容, 来源链接: utcz.com/z/322005.html