How to get different height html divs to float up

后端 未结 5 686
春和景丽
春和景丽 2020-12-30 02:36

I\'ve got a series of dynamically created divs of varying heights in a container div.

Varying text...<
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-30 03:12

    Try using jQuery Masonry. It could be a great fix for this.

    http://masonry.desandro.com/

    Or try Isotope, which has much better performance

    http://isotope.metafizzy.co/

提交回复
热议问题