首页 > 代码库 > adminLTE 教程 -7 进度条
adminLTE 教程 -7 进度条
其实进度条需要注意的几点:
1、横竖 style="width: 40%" or style="height: 40%"
2、样式:progress-bar-success
3、宽度:progress-sm
4、动态效果:active
<div class="box box-solid"> <div class="box-header with-border"> <h3 class="box-title">Progress Bars Different Sizes</h3> </div> <!-- /.box-header --> <div class="box-body text-center"> <p><code>.progress</code></p> <div class="progress"> <div class="progress-bar progress-bar-primary progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> <span class="sr-only">40% Complete (success)</span> </div> </div> <p>Class: <code>.sm</code></p> <div class="progress progress-sm active"> <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> <span class="sr-only">20% Complete</span> </div> </div> <p>Class: <code>.xs</code></p> <div class="progress progress-xs"> <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> <span class="sr-only">60% Complete (warning)</span> </div> </div> <p>Class: <code>.xxs</code></p> <div class="progress vertical progress-xxs"> <div class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> <span class="sr-only">60% Complete (warning)</span> </div> </div> <div class="progress vertical active"> <div class="progress-bar progress-bar-primary progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="height: 40%"> <span class="sr-only">40%</span> </div> </div> <div class="progress vertical progress-sm"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="height: 100%"> <span class="sr-only">100%</span> </div> </div> <div class="progress vertical progress-xs"> <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="height: 60%"> <span class="sr-only">60%</span> </div> </div> <div class="progress vertical progress-xxs"> <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="height: 60%"> <span class="sr-only">60%</span> </div> </div> </div> <!-- /.box-body --> </div>
adminLTE 教程 -7 进度条
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。