masonry-layout-grid
v0.1.2
Published
https://paulantezana.github.io/masonry-layout-grid
Downloads
4
Readme
masonry-layout-grid
Demo
https://paulantezana.github.io/masonry-layout-grid
Install
npm install --save masonry-layout-grid
Use
import masonry from 'masonry-layout-grid';
masonry();
<div class="MasonryGrid xs-1 sm-2 lg-3 xl-4">
<div class="MasonryGrid-item">
<!-- content -->
</div>
<div class="MasonryGrid-item">
<!-- content -->
</div>
<div class="MasonryGrid-item">
<!-- content -->
</div>
<div class="MasonryGrid-item">
<!-- content -->
</div>
<div class="MasonryGrid-item">
<!-- content -->
</div>
</div>