【发布时间】:2016-07-21 06:13:19
【问题描述】:
如何让 Bootstrap 四列网格在第二列上跨两行?
嗨,如果有人可以帮助我实现具有 4 列的投资组合网格(参见图片enter image description here),其中第二列跨越 2 行。 (计划将带有悬停标题效果的图像放入其中)。
我尝试了这个解决方案,但没有找到合适的解决方案。以下链接:
How can I get a Bootstrap column to span multiple rows?
How to make a div in the middle of two others to span multiple rows, like rowspan in tables
Twitter Bootstrap 3 rowspan and reorder
提前感谢您!
【问题讨论】:
-
尝试只使用一行,所有浮动元素都可以解决问题。如果没有,请发布一个小提琴进行测试。
-
用 Bootstrap 的普通 Grid 是不可能的。 Rowspan 是可以应用于
s. 的东西
您可以提供任何代码吗?你能/你尝试过这样的嵌套吗? bootply.com/Dxd7yctlwi这与照片的结构相同,但计数不正确。第二项称为 5 等。
标签: jquery html css twitter-bootstrap portfolio