具有相对div顶部的Bootstrap网格系统

时间:2016-05-19 08:31:52

标签: css twitter-bootstrap css3 twitter-bootstrap-3 angular-ui-bootstrap

嗨当我使用Bootstrap的网格系统(行和col- - )样式时,我得到以下结构。 enter image description here

但我想要的是以下结构,其中第二行div的顶部应该相对于第一行div。 enter image description here

无论如何都可以使用CSS吗?

1 个答案:

答案 0 :(得分:0)

您可以使用css执行此操作,但必须更改网格结构并使用column-widthcolumn-gap
选中 Demo