New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

masonry-css

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

masonry-css

create masonry style grid, like masonry plugins, but with css only!

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

masonry-css

Responseive Masonry style grid, like masonry plugins, but with css only!

See demo - Illustrations by Ken Wong

Demo

Install

Install using npm or bower.

npm install --save masonry-css
bower install --save masonry-css

Refer to css with dist/masonry.css, or src/masonry.scss'. I.e.

<link rel="stylesheet" src="bower_components/dist/masonry.css" />

In your .html use class .masonry as container, and inside of that, each image need has the class .masonry-item, example:

<div class="masonry">
  <img class="masonry-item" src="..." />
  <img class="masonry-item" src="..." />
  <img class="masonry-item" src="..." />
  <img class="masonry-item" src="..." />
</div>

Keywords

masonry

FAQs

Package last updated on 15 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts