• Bootstrap历练实例:交替的进度条


    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="stylesheet" href="bootstrap-3.3.5-dist/css/bootstrap.min.css" />
    </head>
    <body>
    <div style="padding:20px;">
    <div class="progress">
    <div id="div1" class="progress-bar progress-bar-success" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="90%"><span class="sr-only">90%完成(成功)</span></div>
    </div>
    <div class="progress">
    <div id="div2" class="progress-bar progress-bar-info" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="70%"><span class="sr-only">70%完成(成功)</span></div>
    </div>
    <div class="progress">
    <div id="div3" class="progress-bar progress-bar-warning" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="50%"><span class="sr-only">50%完成(成功)</span></div>
    </div>
    <div class="progress">
    <div id="div4" class="progress-bar progress-bar-danger" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="30%"><span class="sr-only">30%完成(成功)</span></div>
    </div>
    <div class="progress progress-striped active">
    <div id="div2" class="progress-bar progress-bar-success" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="70%" role="progressbar"><span class="sr-only">70%完成(成功)</span></div>
    </div>
    </div>


    <script src="jQuery/jquery-2.1.4.js"></script>
    <script src="bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
    </body>
    </html>

  • 相关阅读:
    获取元素js点击tab,input获取当前文本,
    弹框,点击显示和隐藏
    rem单位,10px等于0.1rem,移动端背景自适应
    移动端轮播图效果,插件
    点击显示或隐藏,添加类名或删除类名
    南瓜小园
    焦点图带箭头-插件-26
    返回顶部,右侧浮窗-25
    点击左右箭头轮播-24
    倒计时拉幕广告,对联广告效果-23
  • 原文地址:https://www.cnblogs.com/melao2006/p/4999153.html
Copyright © 2020-2023  润新知