jsk-grid

Semantic grid implementation for Stylus.

JumperSkirt: Grid

A modular semantic grid implementation for Stylus, with namespacing conventions, based off Semantic Grid by Tayler Tate.

<header> ... </header>
<article> ... </article>
<aside> ... </aside>
header
  jsk-grid-column: 12
article
  jsk-grid-column: 9
aside
  jsk-grid-column: 3

Grab it from NPM:

$ npm install jsk-grid
@import "jsk-grid"
var stylus = require('stylus')
var jskGrid = require('jsk-grid')
 
stylus(source).use(jskGrid)
              .render(function(errcss) {
                /* do something with the css */
              })

You can [read the documentation online][docs] or build it yourself:

$ git clone git://github.com/robotlolita/jsk-grid.git
$ cd jsk-grid
$ npm install
$ make documentation

Then open the file docs/literate/index.html in your browser.

Copyright (c) 2013 Quildreen Motta.

Released under the MIT licence.

[docs]: http://robotlolita.github.io/jsk-grid [release]: https://github.com/robotlolita/jsk-grid/releases/download/v1.0.0/jsk-grid-1.0.0.tar.gz