<!doctype html>
<html>
<head>
<title>益司CMS-PC与手机建站集成</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="__PUBLIC__/bootstrap/css/bootstrap.css" rel="stylesheet" />
<!--[if It IE 9]>
<script src="http//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--加载jquery-->
</head>
<!--
<div class="container">
<div class="row">
<div class="col-lg-4">
大屏幕设备 桌面,大于1200px,占屏幕宽度的4/12
</div>
<div class="col-md-4">
中等屏幕设备 桌面,大于992px,占屏幕宽度的4/12
</div>
<div class="col-sm-4 col-sm-offset-2">
小屏幕设备 平板,大于768px,占屏幕宽度的4/12; col-sm-offset-2 小屏幕设备上偏移2/12
</div>
<div class="col-xs-4 ">
超小屏幕设备 手机,小于768px,占屏幕宽度的4/12
</div>
</div>
</div>
用.container包裹页面上的内容即可实现居中对齐。在不同的媒体查询阈值范围内都为container设置了width,用以匹配栅格系统。
-->
<body>
<div class="container-fluid">
<h1 class="page-header">
布局
<smal>
使用bootstrap网格布局
</smal>
</h1>
<p>
使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局
</p>
<div class="row-fluid">
<div class="col-md-4 col-xs-6 ">
<h1 class="page-header">
区块1
</h1>
<p>
使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局
</p>
</div>
<div class="col-md-4 col-xs-12">
<h1 class="page-header">
区块2
</h1>
<p>
使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局
</p>
</div>
<div class="col-md-4 col-xs-12">
<h1 class="page-header">
区块3
</h1>
<p>
使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap网格布局
</p>
<div class="row-fluid">
<div class="col-md-6 col-sm-6">
rap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap
</div>
<div class="col-md-6 col-sm-6">
rap网格布局使用bootstrap网格布局使用bootstrap网格布局使用bootstrap
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="__PUBLIC__/bootstrap/jquery/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/bootstrap/js/bootstrap.js"></script>
</body>
</html>
转载于:https://blog.51cto.com/6846041/1409299