Skip to content

Commit

Permalink
v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbitron committed Apr 19, 2019
1 parent ebe1a9b commit 32ca90a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 45 deletions.
50 changes: 8 additions & 42 deletions dist/flexmasonry.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* FlexMasonry
* Version: 0.2.2
* Version: 0.2.3
* Author: Gilbert Pellegrom <[email protected]>
* License: MIT
*/
Expand Down Expand Up @@ -67,45 +67,11 @@
width: 0 !important;
margin: 0;
}
.flexmasonry-cols-2 .flexmasonry-break:nth-child(2n+1) { order: 1; }
.flexmasonry-cols-2 .flexmasonry-break:nth-child(2n) { order: 2; }

.flexmasonry-cols-3 .flexmasonry-break:nth-child(3n+1) { order: 1; }
.flexmasonry-cols-3 .flexmasonry-break:nth-child(3n+2) { order: 2; }
.flexmasonry-cols-3 .flexmasonry-break:nth-child(3n) { order: 3; }

.flexmasonry-cols-4 .flexmasonry-break:nth-child(4n+1) { order: 1; }
.flexmasonry-cols-4 .flexmasonry-break:nth-child(4n+2) { order: 2; }
.flexmasonry-cols-4 .flexmasonry-break:nth-child(4n+3) { order: 3; }
.flexmasonry-cols-4 .flexmasonry-break:nth-child(4n) { order: 4; }

.flexmasonry-cols-5 .flexmasonry-break:nth-child(5n+1) { order: 1; }
.flexmasonry-cols-5 .flexmasonry-break:nth-child(5n+2) { order: 2; }
.flexmasonry-cols-5 .flexmasonry-break:nth-child(5n+3) { order: 3; }
.flexmasonry-cols-5 .flexmasonry-break:nth-child(5n+4) { order: 4; }
.flexmasonry-cols-5 .flexmasonry-break:nth-child(5n) { order: 5; }

.flexmasonry-cols-6 .flexmasonry-break:nth-child(6n+1) { order: 1; }
.flexmasonry-cols-6 .flexmasonry-break:nth-child(6n+2) { order: 2; }
.flexmasonry-cols-6 .flexmasonry-break:nth-child(6n+3) { order: 3; }
.flexmasonry-cols-6 .flexmasonry-break:nth-child(6n+4) { order: 4; }
.flexmasonry-cols-6 .flexmasonry-break:nth-child(6n+5) { order: 5; }
.flexmasonry-cols-6 .flexmasonry-break:nth-child(6n) { order: 6; }

.flexmasonry-cols-7 .flexmasonry-break:nth-child(7n+1) { order: 1; }
.flexmasonry-cols-7 .flexmasonry-break:nth-child(7n+2) { order: 2; }
.flexmasonry-cols-7 .flexmasonry-break:nth-child(7n+3) { order: 3; }
.flexmasonry-cols-7 .flexmasonry-break:nth-child(7n+4) { order: 4; }
.flexmasonry-cols-7 .flexmasonry-break:nth-child(7n+5) { order: 5; }
.flexmasonry-cols-7 .flexmasonry-break:nth-child(7n+6) { order: 6; }
.flexmasonry-cols-7 .flexmasonry-break:nth-child(7n) { order: 7; }

.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n+1) { order: 1; }
.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n+2) { order: 2; }
.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n+3) { order: 3; }
.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n+4) { order: 4; }
.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n+5) { order: 5; }
.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n+6) { order: 6; }
.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n+7) { order: 7; }
.flexmasonry-cols-8 .flexmasonry-break:nth-child(8n) { order: 8; }
.flexmasonry-break-1 { order: 1; }
.flexmasonry-break-2 { order: 2; }
.flexmasonry-break-3 { order: 3; }
.flexmasonry-break-4 { order: 4; }
.flexmasonry-break-5 { order: 5; }
.flexmasonry-break-6 { order: 6; }
.flexmasonry-break-7 { order: 7; }

4 changes: 2 additions & 2 deletions dist/flexmasonry.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flexmasonry",
"version": "0.2.2",
"version": "0.2.3",
"description": "A lightweight masonry (cascading grid layout) library powered by flexbox",
"author": "Gilbert Pellegrom <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 32ca90a

Please sign in to comment.