CSS float under and left

前端 未结 3 1494
离开以前
离开以前 2021-01-13 14:19

I have many divs with variable height. I need these divs sort under each other but when they will reach end of window –> create new \"column\".

3条回答
  •  日久生厌
    2021-01-13 15:02

    The another way to solve this issue is using jQuery to get available window height and create each column based in this information. In other way, but still using jQuery, is you use Mansory jQuery (http://masonry.desandro.com/) plugin or Isotope (http://isotope.metafizzy.co/).

提交回复
热议问题