官术网_书友最值得收藏!

Rows

A row is used to define a selection of elements that should be dealt with as a horizontal group. As such, rows reside within a container element. The power of the row lies in being able to stack content vertically, almost like containers within a container, or defining a section of the page. Creating a row is as simple as applying the row class to the desired element:

<body>
<div class="container">
<h1>Help, I'm trapped in a container!</h1>
<div class="row">
<div>Section 1</div>
</div>
<div class="row">
<div>Section 2</div>
</div>
<div class="row">
<div>Section 3</div>
</div>
</div>
<div>
<h1>I'm free!</h1>
</div>
</body>

Take a look at Figure 2.4, as follows:

Figure 2.4: Using rows (example03.html)

The true power of rows only becomes apparent when they are used with columns.

Flexbox is now on by default, so support for IE9 was dropped from Bootstrap 4.
主站蜘蛛池模板: 扶风县| 祁阳县| 岗巴县| 南投市| 佛山市| 同江市| 淄博市| 双城市| 虞城县| 汤原县| 无棣县| 柳河县| 西贡区| 桂东县| 和硕县| 伊川县| 玉树县| 巢湖市| 绿春县| 阜新市| 洪雅县| 九龙城区| 宜丰县| 镇原县| 富锦市| 太谷县| 彭泽县| 井研县| 子长县| 蒙自县| 石林| 南靖县| 湘潭市| 临桂县| 湖口县| 宁波市| 东丽区| 石渠县| 太和县| 涞水县| 城市|