PostCSS plugin for Flexibility.
.foo {
display: flex;
}
will be processed to:
.foo {
-js-display: flex;
display: flex;
}
$ npm install --save-dev postcss postcss-flexibility
postcss([ require('postcss-flexibility') ])
See PostCSS docs for examples for your environment.
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;
}
MIT © Valentin Semirulnik