编程学习网为您整理以下代码实例,主要实现:Bootstrap备用进度条,希望可以帮到各位朋友。
<!DOCTYPE HTML>
<HTML>
<head>
<Title>Try v1.2 bootstrap Online</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 progress-bar-success" role = "progressbar"
aria-valueNow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "wIDth: 90%;">
<span class = "sr-only">90% Complete (Sucess)</span>
</div>
</div>
<div class = "progress">
<div class = "progress-bar progress-bar-info" role = "progressbar"
aria-valueNow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "wIDth: 30%;">
<span class = "sr-only">30% Complete (info)</span>
</div>
</div>
<div class = "progress">
<div class = "progress-bar progress-bar-warning" role = "progressbar"
aria-valueNow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "wIDth: 20%;">
<span class = "sr-only">20%Complete (warning)</span>
</div>
</div>
<div class = "progress">
<div class = "progress-bar progress-bar-danger" role = "progressbar"
aria-valueNow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "wIDth: 10%;">
<span class = "sr-only">10% Complete (danger)</span>
</div>
</div>
</body>
</HTML>
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!