I am looking to replicate Pinterest.com’s div layout, specifically how the number of columns adjusts to fit more/less on browser resize and the vertical stacking is not dependent on adjacent column heights. The source code shows that each div is position absolute. A co-founder has answered a Quora post stating it is done with custom jQuery and CSS. I would like the results sorted left to right. Any direction you could provide to make it myself would be greatly appreciated.
I am looking to replicate Pinterest.com’s div layout, specifically how the number of columns
Share
You could also check on the jQuery Plug-in Masonry, for this kind of functionality.