• Stars
    star
    296
  • Rank 140,464 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PostCSS plugin for Flexibility polyfill

PostCSS Flexibility

NPM version Build Status Dependency Status devDependency Status Coverage Status XO code style

PostCSS plugin for Flexibility.

.foo {
    display: flex;
}

will be processed to:

.foo {
    -js-display: flex;
    display: flex;
}

Installation

$ npm install --save-dev postcss 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