CSS stacking div with variable height on two columns

后端 未结 5 2513
抹茶落季
抹茶落季 2021-02-20 09:05

So I\'m working the profile page of a user on my website. And I\'m having a little problem with the CSS.

My problem is the following: I have four div boxes with a fixed

5条回答
  •  误落风尘
    2021-02-20 09:42

    Short of nesting your divs in columns:

    ...
    ...
    ...
    ...

    you could try jQuery Masonry. Here's a fiddle demonstrating its use.

提交回复
热议问题