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

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

问题描述:

I am trying to fill up the gap cause by the unequal height of different div height when using float left

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

我正在尝试填充因使用左浮动时不同div高度的不等高度导致的间隙 p >

以下是之前和我目前所拥有的,第二张图像将是欲望结果 https://imagizer.imageshack.us/v2/901x507q90/538/OT5j3U.png p> div>

it is masonry plugin , you cant achieve this without that

see this link

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

w3bits.com/css-masonry