要将内容与默认网格嵌套在一起,请在现有的.col-md- *列中添加一个新的.row和一组.col-md- *列。
您可以尝试运行以下代码以了解如何在Bootstrap中实现嵌套列-
示例html>
Bootstrap ExampleHeading
box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
Heading
This is demo text.
box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
Heading
This is demo text.
box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
This is box 1.
box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
This is box 2.
box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
This is box 3.
box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;">
This is box 4.