Comparing version 0.0.3 to 1.0.0
{ | ||
"name": "griddy", | ||
"version": "0.0.3", | ||
"version": "1.0.0", | ||
"description": "Grid system plugin for stylus", | ||
@@ -5,0 +5,0 @@ "main": "plugin.js", |
@@ -44,3 +44,3 @@ # Griddy | ||
* `grid-system(cols = 12, gutter = 20px, child = '.col', all-columns = true, separate = '-', breakpoint = 400px)` | ||
* `grid-system(cols = 12, gutter = 20px, child = '.col', offset = '.off', all-columns = true, separate = '-', breakpoint = 400px)` | ||
@@ -52,2 +52,3 @@ #### Parameters | ||
* `child` - Child selector suffix (Or full selector, if all-columns is set to false) | ||
* `offset` - Offset selector suffix | ||
* `all-columns` - Generate selectors for all numbers of spans, using `[selector][separate][spans]` convention | ||
@@ -65,3 +66,3 @@ * `separate` - String separating `child` prefix from spans count, used when `all-columns` is set to true | ||
.row | ||
grid-system(12, 20px, '.col') | ||
grid-system(12, 20px, '.col', '.off') | ||
``` | ||
@@ -75,8 +76,8 @@ | ||
<!-- [ … ] --> | ||
<!-- 3 columns --> | ||
</div> | ||
<div class="col-9"> | ||
<div class="col-8 off-1"> | ||
<!-- [ … ] --> | ||
<!-- 8 columns offset by 1 --> | ||
@@ -109,3 +110,2 @@ </div> | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/tancredi/griddy/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/tancredi/griddy/trend.png)](https://bitdeli.com/free "Bitdeli Badge") |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19366
402
2
106