Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有图片的 2 行水平滚动列表,我想按列对元素进行排序,所以第二个在第一个下面,第三个在下一列,第四个在下面,依此类推......像这样:
[1] [3] [5] [7] ... ... [2] [4] [6] [8] ... ...
这可能吗?如何?
谢谢你的帮助。
我相信您会想要类似masonryHorizontalor的东西fitColumns,请参见此处:
masonryHorizontal
fitColumns
http://isotope.metafizzy.co/demos/layout-modes.html