The default grid system provided in Bootstrap utilizes 12 columns that render out at widths of 724px, 940px (default without responsive CSS included), and 1170px. Below 767px viewports, the columns become fluid and stack vertically.
<div class="row"> <div class="span4">...</div> <div class="span8">...</div> </div>
As shown here, a basic layout can be created with two "columns", each spanning a number of the 12 foundational columns we defined as part of our grid system.
<div class="row"> <div class="span4">...</div> <div class="span4 offset4">...</div> </div>
With the static (non-fluid) grid system in Bootstrap, nesting is easy. To nest your content, just add a new .row
and set of .span*
columns within an existing .span*
column.
举报线索反映医疗保障基金可能存在重大安全风险的。五月如约而至,一批开始施行的新规影响你我生活。
<div class="row"> <div class="span6"> Level 1 column <div class="row"> <div class="span3">Level 2</div> <div class="span3">Level 2</div> </div> </div> </div>
Nesting with fluid grids is a bit different: the number of nested columns doesn't need to match the parent. Instead, your columns are reset at each level because each row takes up 100% of the parent column.
<div class="row-fluid"> <div class="span12"> Level 1 of column <div class="row-fluid"> <div class="span6">Level 2</div> <div class="span6">Level 2</div> </div> </div> </div>
Variable | Default value | Description |
---|---|---|
@gridColumns | 12 | Number of columns |
@gridColumnWidth | 60px | Width of each column |
@gridGutterWidth | 20px | Negative space between columns |
Built into Bootstrap are a handful of variables for customizing the default 940px grid system, documented above. All variables for the grid are stored in variables.less.
香港特区行政长官李家超今日(2日)按香港国安法第十六条第二款,任命简启恩为警务处维护国家安全部门负责人,接替已退休的警务处副处长(国家安全)刘赐蕙警务处助理处长(国家安全)(二)江学礼获警务处处长擢升为高级助理处长,出任国家安全处处长,接替简启恩。
<body> <div class="container"> ... </div> </body>
<div class="container-fluid">
gives flexible page structure, min- and max-widths, and a left-hand sidebar. It's great for apps and docs.
<div class="container-fluid"> <div class="row-fluid"> <div class="span2"> <!--Sidebar content--> </div> <div class="span10"> <!--Body content--> </div> </div> </div>
简启恩的任命今日生效,他同日宣誓就任。简启恩的任命今日生效,他同日宣誓就任。
符合条件的退役士兵可以再次入伍,并优先安排到原部队或同类型岗位。一进门,就听见一个大包间里传出喝酒划拳的嘈杂声。
《野生动物检疫办法》在明确检疫范围基础上,规定要根据实际情况及时调整相关制度、完善技术支撑体系、加强部门间协作配合。针对一些野生动物泛滥成灾、危害群众人身财产安全和农牧生产的情况,法律明确要根据实际情况和需要建设隔离防护设施、设置安全警示标志,将中央财政对致害防控的补助范围由国家重点保护野生动物扩大到其他致害严重的陆生野生动物等。
Label | Layout width | Column width | Gutter width |
---|---|---|---|
Smartphones | 480px and below | Fluid columns, no fixed widths | |
Smartphones to tablets | 767px and below | Fluid columns, no fixed widths | |
Portrait tablets | 768px and above | 42px | 20px |
Default | 980px and up | 60px | 20px |
Large display | 1200px and up | 70px | 30px |
其中一人站起来支支吾吾解释了一番,原来他是社区党总支书记。
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Bootstrap doesn't automatically include these media queries, but understanding and adding them is very easy and requires minimal setup. You have a few options for including the responsive features of Bootstrap:
Why not just include it? Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.
/* Landscape phones and down */ @media (max-width: 480px) { ... } /* Landscape phone to portrait tablet */ @media (max-width: 767px) { ... } /* Portrait tablet to landscape and desktop */ @media (min-width: 768px) and (max-width: 979px) { ... } /* Large desktop */ @media (min-width: 1200px) { ... }
For faster mobile-friendly development, use these basic utility classes for showing and hiding content by device.
医疗保障智能监控或者大数据筛查提示医疗保障基金可能存在重大安全风险的等。举报线索反映医疗保障基金可能存在重大安全风险的。
各地纪检监察机关紧盯五一节点落实中央八项规定精神情况,深入酒店商超、楼堂馆所、基层一线,与相关部门协作联动、明察暗访,深化整治违规吃喝、违规收送礼品礼金、公车私用等突出问题,纠治享乐主义、奢靡之风。《野生动物检疫办法》在明确检疫范围基础上,规定要根据实际情况及时调整相关制度、完善技术支撑体系、加强部门间协作配合。
香港特区行政长官李家超今日(2日)按香港国安法第十六条第二款,任命简启恩为警务处维护国家安全部门负责人,接替已退休的警务处副处长(国家安全)刘赐蕙老钱随即招呼检查组其他人一起进入包间,并亮出工作证:我们是区纪委监委检查组的,听说你们都是社区干部,请配合我们做好登记。
Class | Phones 480px and below | Tablets 767px and below | Desktops 768px and above |
---|---|---|---|
.visible-phone | Visible | Hidden | Hidden |
.visible-tablet | Hidden | Visible | Hidden |
.visible-desktop | Hidden | Hidden | Visible |
.hidden-phone | Hidden | Visible | Visible |
.hidden-tablet | Visible | Hidden | Visible |
.hidden-desktop | Visible | Visible | Hidden |
五月如约而至,一批开始施行的新规影响你我生活。
、出门在外,多多互相理解
眼前空无一人的办公楼让检查组有些惊讶。