- Mastering Bootstrap 4(Second Edition)
- Benjamin Jakobus Jason Marah
- 125字
- 2021-06-24 19:25:51
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.
推薦閱讀
- Linux設(shè)備驅(qū)動(dòng)開發(fā)詳解(第2版)
- UNIX操作系統(tǒng)設(shè)計(jì)
- 白話區(qū)塊鏈
- 精通Linux內(nèi)核開發(fā)
- 嵌入式實(shí)時(shí)操作系統(tǒng):RT-Thread設(shè)計(jì)與實(shí)現(xiàn)
- Learning Bootstrap
- Red Hat Enterprise Linux 6.4網(wǎng)絡(luò)操作系統(tǒng)詳解
- CentOS 6 Linux Server Cookbook
- HTML5 Enterprise Application Development
- 統(tǒng)信UOS應(yīng)用開發(fā)進(jìn)階教程
- Web Penetration Testing with Kali Linux(Third Edition)
- Linux系統(tǒng)管理初學(xué)者指南:基于CentOS 7.6
- 鴻蒙HarmonyOS應(yīng)用開發(fā)入門
- Angular權(quán)威教程
- 電腦辦公(Windows10+Office2016)從新手到高手