- 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.
推薦閱讀
- pcDuino開發實戰
- Linux設備驅動開發詳解(第2版)
- 嵌入式Linux開發技術
- Cybersecurity:Attack and Defense Strategies
- 每天5分鐘玩轉Kubernetes
- Linux內核完全注釋(20周年版·第2版)
- 混沌工程實戰:手把手教你實現系統穩定性
- 數據中心系統工程及應用
- Linux自動化運維:Shell與Ansible(微課版)
- Dreamweaver CS5.5 Mobile and Web Development with HTML5,CSS3,and jQuery
- 突破平面3ds Max動畫設計與制作
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- Linux服務器配置與管理
- Learn CUDA Programming
- 鴻蒙操作系統設計原理與架構