Domanda

I wanted to know what is the way of creating a tile-based portfolio like this:

http://prothemeus.com/demo/litho/

I mean I know it must be a mixed thing of jQuery and CSS3 and stuff... I wanted to know how should I create one!

Thanks in advance

È stato utile?

Soluzione

The algorithm is a 1d bin-packing algorithm and it can be useful to minimize bins in operation research. What's also interesting is that it orders the tiles in columns (x-axis). Css alone can only orders in rows (y-axis). There are a lot of jquery plugins adding this function to html and css available for download for example masonry, wookmark and a lots more. Isotope is the big sister of masonry and has a slightly tigther license.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top