Bootstrap_02_流动网格布局
2014-05-10 20:33
393 查看
<!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>
相关文章推荐
- bootstrap学习总结-02 网格布局
- bootstrap网格布局原理解析
- 【前端框架之Bootstrap 02】布局与导航
- bootstrap网格布局原理解析
- bootstrap之网格布局
- 【Bootstrap基础学习】02 Bootstrap的布局组件应用示例
- Bootstrap 响应式网格布局
- bootstrap布局:网格布局
- Bootstrap研究1-精巧的网格布局系统
- 【02】Bootstrap — 布局容器
- 【前端框架之Bootstrap 02】布局与导航
- bootstrap布局 网格系统
- 转:Bootstrap研究 精巧的网格布局系统
- Bootstrap_01_网格布局
- bootstrap布局 网格系统
- 使用CSS Grid布局实现网格的流动
- Bootstrap-网格布局系统
- bootstrap网格布局自适应问题
- 02网格布局Gridlayout
- Bootstrap研究1-精巧的网格布局系统