Generating Masonry layouts involves some advanced calculations, so it is wise to use a plugin.
For my own purposes I was looking for a lightweight alternative and I found two interesting plugin for generating Masonry layouts, with a wide range of features.
Salvattore is a library agnostic JS script that will help you organize
your HTML elements according to the number of columns you specify, like
jQuery Masonry.
Try https://github.com/tovic/bricks
ReplyDelete