jsk-grid
Semantic grid implementation for Stylus.
Last updated 7 years ago by killdream .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jsk-grid 
SYNC missed versions from official npm registry.

JumperSkirt: Grid

NPM version Dependencies Status stable

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

Example

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

Installing

Grab it from NPM:

$ npm install jsk-grid

Using within Stylus

@import "jsk-grid"

Using the JavaScript API

var stylus = require('stylus')
var jskGrid = require('jsk-grid')

stylus(source).use(jskGrid)
              .render(function(err, css) {
                /* do something with the css */
              })

Documentation

You can read the documentation online 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.

Licence

Copyright (c) 2013 Quildreen Motta.

Released under the MIT licence.

Current Tags

  • 1.0.0                                ...           latest (7 years ago)

1 Versions

  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (1)
  • groc git://github.com/killdream/groc#typography
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |