我开始使用Bootstrap 4进行开发,现在发现了这个问题:当使用Bootstrap 3列系统时,由于它使用浮点数,我们可以在一行中插入多列,然后根据指定的“ col-size”填充空间,例如这个 :
http://codepen.io/seltix/pen/QpXvRJ
------- ------- -------
| COL 1 | | COL 2 | | COL 3 |
| | ------- -------
| | | COL 4 | | COL 5 |
------- ------- -------
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 panel height-1">
<div class="bg-danger">this box is a slider with fixed col-6 width and fixes 2 blue boxes height</div>
</div>
<div class="col-sm-3 panel height-2">
<div class="bg-info">blue boxes count may change depending on the content.<br>if there are only …Run Code Online (Sandbox Code Playgroud)