Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@dudadev/postcss-flexibility

1.1.1 • Public • Published

PostCSS Flexibility

NPM version Build Status Dependency Status [devDependency Status][daviddm-dev-url] Code 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-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)

Install

npm i @dudadev/postcss-flexibility

DownloadsWeekly Downloads

3

Version

1.1.1

License

MIT

Last publish

Collaborators

  • avatar