码迷,mamicode.com
首页 > 其他好文 > 详细

adminLTE 教程 -7 进度条

时间:2017-03-16 22:58:07      阅读:276      评论:0      收藏:0      [点我收藏+]

标签:adminlte adminlte 教程 adminlte入门教程

其实进度条需要注意的几点:

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 进度条

标签:adminlte adminlte 教程 adminlte入门教程

原文地址:http://11140372.blog.51cto.com/11130372/1907108

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!