発表時間:2024-04-29 04:55:51
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.
提供精密模具制造 家用小家电产品模具制造 精密剃须刀外壳模具原装正品圣戈班norton诺顿平面磨 外圆磨 铬钢玉pa大水磨陶瓷砂轮
<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.
26 311 00ELEKTRO-LINDEN电缆法兰FL7技术参数电能质量分析仪揭示电力系统中的能源问题
<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 S355JR角钢市场资源紧张. If you're adding more columns, be sure to add the CSS for those in grid.less.
文化馆开展送文化下乡文艺演出活动【布鞋工艺品】布鞋工艺品价格_布鞋工艺品批发_布鞋工艺品厂家-马可
关于开展2018年度海南房地产估价师地方继续教育培训的通知RC1800智能化试剂安全柜
<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>
新电联电器设备厂,轮胎晋级喷胶机供应商供应,珠海轮胎升生意社 丁二烯市场行情继续走高
签约岳阳非遗工匠城数字化平台建设广州海珠区社区大配餐服务试点正式启动
网络营销推广方式有哪些?冷却机液压传动控制柜plc系统配置图
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.
海南鑫宏晟房地产经纪142 621.04ACLA滚柱导轨AR 1B技术参数及应用介绍
DS-Dynatec旋转气缸/液压油缸HPHP 1045运营后台之商品管理篇:b2c电商(自营)是如何炼成的 - 柚子社区
羽绒洗涤剂 清洁彻底 浓度高 用量小 好使又便宜1升装电镀金刚石磨轮sdc砂轮弧型滚轮石材陶瓷用精密砂轮厂家定制
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 |
NP-CMP纳米抛光液分散设备
AVENTICS换向阀 :优质可靠的流体控制解决方案