zoukankan      html  css  js  c++  java
  • 进度条

    进度条--基本样式

    <div class="progress">
        <div class="progress-bar" style="80%;" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100">
            <span class="sr-only">80% Complete</span>
        </div>
    </div>

    进度条--彩色进度条

    <div class="progress">
        <div class="progress-bar progress-bar-info" style="60%;"></div>
    </div> 
    <div class="progress">
         <div class="progress-bar progress-bar-warning" style="75%;"></div>
    </div> 
    <div class="progress">
         <div class="progress-bar progress-bar-danger" style="40%;"></div>
    </div> 
    <div class="progress">
         <div class="progress-bar progress-bar-success" style="30%;"></div>
    </div>

    进度条--条纹进度条

    <div class="progress progress-striped">
        <div class="progress-bar progress-bar-danger" style="70%;"></div>
    </div>
    <div class="progress progress-striped">
        <div class="progress-bar progress-bar-success" style="90%;"></div>
    </div>
    <div class="progress progress-striped">
        <div class="progress-bar progress-bar-warning" style="20%;"></div>
    </div>
    <div class="progress progress-striped">
        <div class="progress-bar progress-bar-info" style="60%;"></div>
    </div>

    进度条--动态条纹进度条

    <div class="progress progress-striped active">
        <div class="progress-bar progress-bar-info" style="60%"></div>
    </div> 
    <div class="progress progress-striped active">
        <div class="progress-bar progress-bar-warning" style="80%"></div>
    </div> 
    <div class="progress progress-striped active">
        <div class="progress-bar progress-bar-danger" style="50%"></div>
    </div>

    进度条--层叠进度条(层叠进度条宽度之和不能大于100%,大于100%就会造成不良效果)

    <h5>正常层叠进度条</h5>
    <div class="progress">
        <div class="progress-bar progress-bar-success" style="20%"></div>
        <div class="progress-bar progress-bar-info" style="10%"></div>
        <div class="progress-bar progress-bar-warning" style="30%"></div>
        <div class="progress-bar progress-bar-danger" style="15%"></div>
    </div> 
    <h5>不良效果层叠进度条</h5> 
    <div class="progress">
        <div class="progress-bar progress-bar-success" style="20%"></div>
        <div class="progress-bar progress-bar-info" style="40%"></div>
        <div class="progress-bar progress-bar-warning" style="30%"></div>
        <div class="progress-bar progress-bar-danger" style="45%"></div>
    </div> 
    <h5>层叠条纹进度条</h5>
    <div class="progress">
        <div class="progress-bar progress-bar-success" style="20%"></div>
        <div class="progress-bar progress-bar-info" style="20%"></div>
        <div class="progress-bar progress-bar-warning" style="30%"></div>
        <div class="progress-bar progress-bar-danger" style="15%"></div>
    </div>  
    <div class="progress">
        <div class="progress-bar progress-bar-success progress-bar-striped" style="20%"></div>
        <div class="progress-bar progress-bar-info progress-bar-striped" style="20%"></div>
        <div class="progress-bar progress-bar-striped progress-bar-warning" style="30%"></div>
        <div class="progress-bar progress-bar-danger progress-bar-striped" style="15%"></div>
    </div> 
    <div class="progress">
        <div class="progress-bar progress-bar-success" style="20%"></div>
        <div class="progress-bar progress-bar-info progress-bar-striped" style="20%"></div>
        <div class="progress-bar progress-bar-warning" style="30%"></div>
        <div class="progress-bar progress-bar-danger progress-bar-striped" style="15%"></div>
    </div> 

    进度条--带Label的进度条

    <div class="progress">
        <div class="progress-bar progress-bar-success"  role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="20%">20%</div>  
    </div>  
    <div class="progress">
        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100"   style="70%">70%</div>
    </div>
    <div class="progress">
        <div class="progress-bar progress-bar-warning"  role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="30%">30%</div>
    </div>
    <div class="progress">
        <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100" style="15%">15%</div>
    </div>

  • 相关阅读:
    软工实践个人总结
    第05组 每周小结 (3/3)
    第05组 每周小结 (2/3)
    第05组 每周小结 (1/3)
    第05组 Beta冲刺 总结
    第05组 Beta冲刺 (5/5)
    第05组 Beta冲刺 (4/5)
    第六次作业
    第05组 Beta冲刺 (3/5)
    第05组 Beta冲刺 (2/5)
  • 原文地址:https://www.cnblogs.com/family-626-77/p/5787090.html
Copyright © 2011-2022 走看看