.title {
text-align:center
}
.waterfall-content {
position:relative;
}
/*.waterfall-item.active {
opacity:0;
}
*/
.waterfall-item {
position:absolute;
border:1px solid #ccc;
border-radius:4px;
padding:1em;
}
.waterfall-item img {
width:100%;
max-width:100%;
}
.get-more-line {
opacity:0
}
简单的瀑布流 模拟, 每一张图片采用绝对布局,因此就需要计算每一张图片的高度,需等图片加载完成才能计算