问题
I tried rendering my div images like this horizontally (left-to-right, top-to-bottom). But it's not quite right. Wondering if it's just vertically done where each column is rendered (top-to-bottom, right-to-left).
Anybody have any idea how to mimic/replicate this page?
* Update * In response to the answer below, i did a quick search for "masonry vs isotope". The following post explains this question very well, for all those interested.
回答1:
Each item is placed dynamically with JavaScript. Try viewing it with JS turned off. They are probably using Masonry, Isotope, or something similar.
来源:https://stackoverflow.com/questions/10695256/anybody-have-any-idea-how-the-divs-are-emitted-in-pinterest-com