bootstrap-----面板

  The panel assembly is used to insert DOM component into a box.
  
 1> We can user the following two ways to add the panel header:
  Frist ,using .panel-heading class can easily add a heading container to your panel.
  Second ,使用带有 .panel-title class 的 <h1>-<h6> 来添加预定义样式的标题
 2> panel-primary,panel-success,panel-info,panel-warning,panel-danger,panel-default
  每个panel带着着不同的颜色
 3> 带表格的面板:
  <table class="table">
 4> 带列表组的面板
  <ul class="list-group">
   <li class="list-group-item">1</li>
   <li class="list-group-item">2</li>

<div class="panel panel-default">
		<div class="panel-heading">
			the header of panel
		</div>
		<!-- 
		上面所示与下面效果一致
		<div class="panel-heading">
			<h1 class="panel-title">
				带有 title 的面板标题
			</h1>
		</div>
		 -->
		<div class="panel-body">
			this is a basic panel.
		</div>
		<div class="panel-footer">
			the footer of panel
		</div>
	</div>


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值