Skip to content

kerouac19/postcss-flexibility

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-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

About

PostCSS plugin for Flexibility polyfill

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%