感谢您的支持,我会继续努力的!
打开微信扫一扫,即可进行扫码打赏哦
点我查看本站打赏源码!
Powered by RUNCODEX.COM,学的不仅是技术,更是梦想!!!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>交替的进度条</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/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% 完成(成功)</span>
</div>
<div class="progress-bar progress-bar-info" role="progressbar"
style="width: 30%;">
<span class="sr-only">30% 完成(信息)</span>
<div class="progress-bar progress-bar-warning" role="progressbar"
style="width: 20%;">
<span class="sr-only">20% 完成(警告)</span>
<div class="progress-bar progress-bar-danger" role="progressbar"
style="width: 10%;">
<span class="sr-only">10% 完成(危险)</span>
</body>
</html>
输入 JavaScript 代码……
xxxxxxxxxx
输入 CSS 代码……