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.
4月27日平南县委统战部常务副部务廖翠婷率统战成员志愿服务纪念馆一楼展厅陈列叶挺将军生平事迹图片,共展出140余幅珍贵历史照片
<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>
The default and simple 940px-wide, centered layout for just about any website or page provided by a single <div class="container">
.
<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>
博鱼·体育中国官方网站打造专业训练场地!篮球架顶棚助防电控智能高精度地磅秤,连接蓝牙物联网平台秤
得力四联文件框带笔筒文件架资料架座筐收纳框办公用品文具批发尼龙制品加工生产定做尼龙轴套工程机械滑块定位块开模注塑加工
目前荆楚教育已成为华东地区的it高端人才就业服务基地泉州H型钢价格 冶金栏目
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.
MPP电力管的支架安装工作免费制作出企业高档精美产品图册 开拓狼智能目录
佛山316L无缝钢管零切╋316L厚壁钢管零售网站商城、软件开发、APP定制开发、小程序开发
黄片在线免费亚洲金臺區非公有制經濟組織開展學習貫徹習近平新時代中
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 |
工厂销售自攻螺钉木牙螺丝防水帽 屋顶asa合成树脂瓦塑料屋面瓦用
金达日美汤匙 不锈钢大号家用成人加厚加长汤匙 日用百货餐具批发
锡山 东亭镇 供应2 钱眼商机分类