An open API service indexing awesome lists of open source software.

https://github.com/mathiew82/masonry-layout-vanilla

Simple masonry developed in Vanilla JS.
https://github.com/mathiew82/masonry-layout-vanilla

masonry masonry-grid masonry-js masonry-layout masonry-layout-vanilla

Last synced: 3 months ago
JSON representation

Simple masonry developed in Vanilla JS.

Awesome Lists containing this project

README

        

# masonry-layout-vanilla

![](images/logo-min.png)

Simple masonry developed in javascript vanilla.

**[+ Demo online +](https://codepen.io/Mathiew82/pen/qzoKOK)**

 
### Enable it in your project:

You only need to download the files:

[masonry-layout-vanilla.js](https://github.com/Mathiew82/masonry-layout-vanilla/blob/master/src/masonry-layout-vanilla.js) *unminify js*
 
or
 
[masonry-layout-vanilla.min.js](https://github.com/Mathiew82/masonry-layout-vanilla/blob/master/src/masonry-layout-vanilla.min.js) *minify js*

and

[masonry-layout-vanilla.min.css](https://github.com/Mathiew82/masonry-layout-vanilla/blob/master/css/masonry-layout-vanilla.min.css) *minify css*

Include files in your project and follow the next steps.

**Note:** In the project's index.html you have available 2 demos and a test, which will serve as a guide to use the masonry.

#### CSS:

Copy-paste the stylesheet < link > into your < head > before all other stylesheets to load our CSS.

```html

```

#### JavaScript:

Place the following < script >s near the end of your pages, right before the closing