How to make sure there is no empty gaps with divs and isotope

前端 未结 1 1646
旧巷少年郎
旧巷少年郎 2021-01-17 03:00

I\'m trying to create a grid layout at http://www.gablabelle.com/.

I have multiple divs floating with isotope and I wonder why there is some empty spaces and why the

相关标签:
1条回答
  • 2021-01-17 03:33

    If your items are in a certain order which you don't want to "destroy" by calling the shuffle method, this will be inevitable. Then, even when shuffling, you can't guarantee the type of fit you want with some elements spanning two columns. You might be able to leverage this plugin instead but it's a very different logic.

    0 讨论(0)
提交回复
热议问题