简体   繁体   English

向左浮动时填充不同DIV“高度”上的间隙

[英]fill up gap on different DIV “Height” when float left

I am trying to fill up the gap cause by the unequal height of different div height when using float left 我正在尝试使用左浮动填充由不同div高度的不相等高度引起的间隙

Here is the before and what I currently have, the 2nd after image would be the desire results https://imagizer.imageshack.us/v2/901x507q90/538/OT5j3U.png 这是之前的内容以及我当前拥有的内容,之后的第二个图片是期望的结果https://imagizer.imageshack.us/v2/901x507q90/538/OT5j3U.png

it is masonry plugin , you cant achieve this without that 这是石工插件,没有它您将无法实现

see this link 看到这个链接

sickdesigner.com/masonry-css-getting-awesome-with-css3 sickdesigner.com/masonry-css-getting-awesome-with-css3

w3bits.com/css-masonry w3bits.com/css-masonry

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM