@dudadev/postcss-flexibility
v1.1.1
Published
PostCSS plugin for Flexibility polyfill
Downloads
2
Maintainers
Readme
PostCSS Flexibility
[![NPM version][npm-img]][npm-url] [][daviddm-dev-url] [![Code coverage status][coveralls-img]][coveralls-url] [![XO code style][xo-img]][xo-url]
PostCSS plugin for Flexibility.
.foo {
display: flex;
}
will be processed to:
.foo {
-js-display: flex;
display: flex;
}
Installation
$ npm install --save-dev postcss-flexibility
Usage
postcss([ require('postcss-flexibility') ])
See PostCSS docs for examples for your environment.
Excluding rules
You can exclude rule from transformation by adding /* flexibility-disable */
comment.
.foo {
/* flexibility-disable */
display: flex;
}
will be processed to:
.foo {
/* flexibility-disable */
display: flex;
}
--
License
MIT © Valentin Semirulnik
[daviddm-dev-url]: https://david-dm.org/7rulnik/postcss-flexibility#info=devDependencies) [npm-img]: https://badge.fury.io/js/postcss-flexibility.svg [npm-url]: https://www.npmjs.com/package/postcss-flexibility [xo-img]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg [xo-url]: https://github.com/sindresorhus/xo [coveralls-img]: https://coveralls.io/repos/github/7rulnik/postcss-flexibility/badge.svg?branch=master [coveralls-url]: https://coveralls.io/github/7rulnik/postcss-flexibility?branch=master