I’ve seen this technique used quite a bit (pinterest.com, factorymagazine.com) where the content(or content excerpts) are displayed in tiles of varying sizes in a seemingly fluid manner. I’m wonder what this is called and how it’s achieved. Thanks.
I’ve seen this technique used quite a bit ( pinterest.com , factorymagazine.com ) where
Share
I believe that you are looking for the jQuery Masonry plugin, this should cover all of your needs and is simple to use.
Demo: http://jsfiddle.net/SO_AMK/9U9Zh/2/
jQuery:
If you would rather not use jQuery than there is Vanilla Masonry, a duplicate of jQuery Masonry except that it uses Vanilla JS only, usage is almost as simple as jQuery Masonry:
var wall = new Masonry(document.getElementById("container"));