0.0.1 • Published 10 years ago

furtive-vertical-center v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Furtive Vertical Center

A CSS module for vertically centering elements using display: flex;. Used in furtive.css.

Installation

It's recommended to use rework-npm:

npm install --save furtive-vertical-center
var rework = require('rework'),
    reworkNPM = require('rework-npm');

var output = rework('@import "furtive-vertical-center";', { source: 'my-file.css' })
    .use(reworkNPM());

Usage

Detailed documentation and examples can be found at furtive.co.

License

MIT

Acknowledgements

The CSS for this module was adapted from http://philipwalton.github.io/solved-by-flexbox/demos/vertical-centering/.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by John Otander (@4lpine).