top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Masonry?

0 votes
226 views

What is Masonry?

Masonry is a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall. You’ve probably seen it in use all over the Internet.

Masonry works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall. You’ve probably seen it in use all over the Internet.

Simple Code for intializing Mansonry

var container = document.querySelector('#container');
var msnry = new Masonry( container, {
  // options...
  itemSelector: '.item',
  columnWidth: 200
});

Read More about this in official documentation - https://github.com/desandro/masonry
or
Refer official site - http://masonry.desandro.com/

Video for Masonry

posted Jun 15, 2015 by anonymous

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button

...