Search code examples
layouthtmlpinterest

Anybody have any idea how the divs are emitted in pinterest.com?


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.


Solution

  • Each item is placed dynamically with JavaScript. Try viewing it with JS turned off. They are probably using Masonry, Isotope, or something similar.