furtive-vertical-center
v0.0.1
Published
A CSS module for vertically centering elements using flex.
Downloads
9
Maintainers
Readme
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).