html - 具有相同高度的列中的多个 block

标签 html css

是否可以在 css 中创建如下布局(没有 flex)?列必须始终具有 100% 的高度。 layout 他们的内容并没有从上到下填满,所以我遇到了这个问题: bad-layout

jsfiddle

.holder {
    display: table;
    width: 100%;
}

.holder > div {
    display: table-cell;
}
<div class="holder" >
        <div class="col-left" >
            <div class="first" >
                <h3>title</h3>
                <p>text text text</p>
            </div>
            <div class="image-bottom" >
                <img src="path/to/image" alt="Image" />
            </div>
        </div>
        <div class="col-middle" >
            <div class="image-top" >
                <img src="path/to/image" alt="Image" />
            </div>
            <div class="second" >
                <h3>title</h3>
                <p>text text text</p>
            </div>
            <div class="image-bottom" >
                <img src="path/to/image" alt="Image" />
            </div>
        </div>
        <div class="col-right" >
            <div class="image-top" >
                <img src="path/to/image" alt="Image" />
            </div>
            <div class="third" >
                <h3>title</h3>
                <p>text text text</p>
            </div>
        </div>
</div>

最佳答案

Freewall 插件可帮助您管理该效果。 See the main page.

关于html - 具有相同高度的列中的多个 block ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32477584/

相关文章:

html - css 将图像对齐到标题和段落的中心

html - 同时具有多个值(px 和 rem)的 CSS 元素

css - 在 <form action> 中使用 CSS

jquery - 折叠DIV底部到顶部

具有可变边框宽度的CSS圆形掩码

jquery - 子菜单不会保持打开状态

javascript - 在 HTML 页面的多个位置显示变量

javascript - 使用 HTML 下拉菜单生成表单

CSS flex 盒 : How to make the children elements occupy the entire width of their container

javascript - 我怎样才能让一些东西在 javascript 中移动?