Align Blocks
Arrange Images with percentages
Instalation
Using jspm:
jspm install npm:align-blocks
Using npm:
npm install align-blocks
Manual:
Download latest release
Usage
var gallery =100 200 'http://example.com/1.jpg'200 100 'http://example.com/2.jpg'100 100 'http://example.com/3.jpg'300 200 'http://example.com/4.jpg';gallerymargin = 15;// extract some of the images into a groupvar group = gallery;groupitems;// Get the remaining itemsgalleryitems;
License
Copyright (c) 2015, Clippings Ltd. Developed by Ivan Kerin
Under BSD-3-Clause license, read LICENSE file.