-
-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
115 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Muuri | ||
|
||
[![gzip size](http://img.badgesize.io/https://unpkg.com/[email protected].0/dist/muuri.min.js?compression=gzip)](https://unpkg.com/[email protected].0/dist/muuri.min.js) | ||
[![gzip size](http://img.badgesize.io/https://unpkg.com/[email protected].1/dist/muuri.min.js?compression=gzip)](https://unpkg.com/[email protected].1/dist/muuri.min.js) | ||
[![npm](https://img.shields.io/npm/v/muuri.svg)](http://npm.im/muuri) | ||
|
||
Muuri is a JavaScript layout engine that allows you to build all kinds of layouts and make them responsive, sortable, filterable, draggable and/or animated. Comparing to what's out there Muuri is a combination of [Packery](http://packery.metafizzy.co/), [Masonry](http://masonry.desandro.com/), [Isotope](http://isotope.metafizzy.co/) and [Sortable](https://github.com/RubaXa/Sortable). Wanna see it in action? Check out the [demo](http://haltu.github.io/muuri/) on the website. | ||
|
@@ -35,13 +35,13 @@ Muuri uses [Web Animations](https://developer.mozilla.org/en-US/docs/Web/API/Web | |
### 1. Get Muuri | ||
|
||
Download: | ||
* [muuri.js](https://unpkg.com/[email protected].0/dist/muuri.js) - for development (not minified, with comments). | ||
* [muuri.min.js](https://unpkg.com/[email protected].0/dist/muuri.min.js) - for production (minified, no comments). | ||
* [muuri.js](https://unpkg.com/[email protected].1/dist/muuri.js) - for development (not minified, with comments). | ||
* [muuri.min.js](https://unpkg.com/[email protected].1/dist/muuri.min.js) - for production (minified, no comments). | ||
|
||
Or link directly: | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].0/dist/muuri.min.js"></script> | ||
<script src="https://unpkg.com/[email protected].1/dist/muuri.min.js"></script> | ||
``` | ||
|
||
Or install with [npm](https://www.npmjs.com/): | ||
|
@@ -67,7 +67,7 @@ Add Muuri on your site and make sure to include the optional dependencies (if ne | |
```html | ||
<script src="https://unpkg.com/[email protected]/web-animations.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/hammer.min.js"></script> | ||
<script src="https://unpkg.com/[email protected].0/dist/muuri.min.js"></script> | ||
<script src="https://unpkg.com/[email protected].1/dist/muuri.min.js"></script> | ||
``` | ||
|
||
### 4. Add the markup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters