三列布局等高 [英] three column layout equal height
本文介绍了三列布局等高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用只有css和html的三列布局具有相同的高度(无js)
How to make three column layout having equal height using only css and html (no js)
推荐答案
最简单的方法是使用虚拟列背景技术。
您还可以尝试给三个div带有大容量底部填充的底部填充以及一个带有 overflow:hidden
的容器。尽管如此,它并不能很好地与内联锚定播放。
You can also try giving three divs massive bottom paddings with massive bottom margins with a container with overflow: hidden
. It doesn't play nice with inline anchors though.
这篇关于三列布局等高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文