【发布时间】:2019-08-12 03:43:22
【问题描述】:
我想问一下如何使用引导网格系统和语义 html 来制作您可以在下面看到的布局。我可以在 div 中使用语义标签吗?如何使第 4 节高于第 3 节?
我想到的代码:
<div class="container">
<div class"row justify-content-between">
<section class="col-5">
1
</section>
<section class="col-5">
2
</section>
</div>
<div class"row justify-content-between">
<section class="col-5">
3
</section>
<section class="col-5" style="margin-top: -50px;">
4
</section>
</div>
</div>
【问题讨论】:
-
html中框的顺序是否相关?
-
古老的纯 css 砌体问题 - 您当前的 html 结构不可能 - 您的第二行第二列如何知道向上返回并退出它的行 div 多少?
标签: html bootstrap-4