Buttons

Grid System

Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, five default responsive tiers, Sass variables and mixins, and dozens of predefined classes.

One of three columns
One of three columns
One of three columns
<divclass="container"><divclass="row"><divclass="col-sm">      One of three columns    </div><divclass="col-sm">      One of three columns    </div><divclass="col-sm">      One of three columns    </div></div></div>

Grid options

While Bootstrap uses ems or rems for defining most sizes, pxs are used for grid breakpoints and container widths. This is because the viewport width is in pixels and does not change with the font size.

Extra small
<576px
Small
≥576px
Medium
≥768px
Large
≥992px
Extra large
≥1200px
Max container widthNone (auto)540px720px960px1140px
Class prefix.col-.col-sm-.col-md-.col-lg-.col-xl-
# of columns12
Gutter width30px (15px on each side of a column)
NestableYes
Column orderingYes

All Breakpoints

For grids that are the same from the smallest of devices to the largest, use the .col and .col-* classes. Specify a numbered class when you need a particularly sized column; otherwise, feel free to stick to .col.

col
col
col
col
col-8
col-4
<divclass="row"><divclass="col">col</div><divclass="col">col</div><divclass="col">col</div><divclass="col">col</div></div><divclass="row"><divclass="col-8">col-8</div><divclass="col-4">col-4</div></div>

Mix and Match

Don’t want your columns to simply stack in some grid tiers? Use a combination of different classes for each tier as needed. See the example below for a better idea of how it all works.

.col-12 .col-md-8
.col-6 .col-md-4
.col-6 .col-md-4
.col-6 .col-md-4
.col-6 .col-md-4
.col-6
.col-6
<!-- Stack the columns on mobile by making one full-width and the other half-width --><divclass="row"><divclass="col-12 col-md-8">.col-12 .col-md-8</div><divclass="col-6 col-md-4">.col-6 .col-md-4</div></div><!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop --><divclass="row"><divclass="col-6 col-md-4">.col-6 .col-md-4</div><divclass="col-6 col-md-4">.col-6 .col-md-4</div><divclass="col-6 col-md-4">.col-6 .col-md-4</div></div><!-- Columns are always 50% wide, on mobile and desktop --><divclass="row"><divclass="col-6">.col-6</div><divclass="col-6">.col-6</div></div>

龙舟游戏优惠活动资讯站

欢迎访问龙舟游戏优惠活动资讯站,在这里您可以找到最新的龙舟游戏参与限时优惠活动的信息与攻略。无论是如何参加活动还是领取优惠,我们都为您提供全面的指导。让您快速了解最新的活动动态,助您在龙舟游戏中轻松获得丰富的奖励与乐趣。我们致力于为彩票联盟的玩家提供优质内容,让每一位玩家都能够享受游戏带来的快乐与价值