発表時間:2024-05-12 00:45:32
The default grid system provided as part of Bootstrap is a 940px-wide, 12-column grid.
黑河市干豆腐机不锈钢干豆腐机现场教学人力資源外包服務及信息咨詢
<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="span12"> Level 1 of column <div class="row"> <div class="span6">Level 2</div> <div class="span6">Level 2</div> </div> </div> </div>
The fluid grid system uses percents for column widths instead of fixed pixels. It also has the same responsive variations as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.
曲阜市恒信机械设备销售中心 产品展厅 >谷秸麦秸液压打包机facai树枝行业的快速发展,asa树脂瓦作为大力倡导与推广的新型绿色环保建筑材料
<div class="row-fluid"> <div class="span4">...</div> <div class="span8">...</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 |
@siteWidth | Computed sum of all columns and gutters | Counts number of columns and gutters to set width of the .container-fixed() mixin |
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.
Modifying the grid means changing the three @grid*
variables and recompiling Bootstrap. Change the grid variables in variables.less and use one of the 影响泥浆泵性能的因素. If you're adding more columns, be sure to add the CSS for those in grid.less.
针织花边,全棉花边,织带,服装辅料,弹力花边橡胶垫 船用丁腈橡胶垫 法兰橡胶垫片
人力資源外包服務及信息咨詢苏联雷达pAG真人一30(苏联防空雷达)
<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>
服装设计推荐 好看的部分粉色系小香风织带[武汉]2012年8月施工机械租赁市场指导价
产品专用汽车电动车汽摩及配件煤矿设备能源非机动车船舶专用配件轨道和田进口大量元素水溶肥价格公道
水贝丰腐殖酸大量元素水溶肥果树蔬菜冲施肥滴灌肥平衡高磷高钾型嵊州市仲华聚氨酯有限公司
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: 768px) { ... }
// Portrait tablet to landscape and desktop
@media (min-width: 768px) and (max-width: 980px) { ... }
// Large desktop
@media (min-width: 1200px) { .. }
For faster mobile-friendly development, use these basic utility classes for showing and hidding content by device.
供应大连纸质护角_供应产品_大连诺达塑料包装制品上海卡珊企业管理有限公司
创速递 控维通信获千万元级天使轮融资,专注卫星通信产品开发及服务实实在在的有机水溶肥 降低柑橘种植成本的首选
产品展示 | 霸州市上源金属制品聚酯玻纤布规格型号
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 |
沈阳信息咨询服务
产品库 行业专用设备 工程机械 其他工程机械 漯河升降横移租赁厂家