postcss-nth-child-fix

2.0.0 • Public • Published

PostCSS Nth Child Fix Build Status

PostCSS plugin to fix a known android 4.1 and 4.2 bug with nth-child (safe transformation).

/* input */
.foo:nth-child(n) {
    color: blue;
}
 
/* output */ 
.foo:nth-child(1n) {
    color: blue;
}

Usage

postcss([ require('postcss-nth-child-fix') ])

See PostCSS docs for examples for your environment.

Package Sidebar

Install

npm i postcss-nth-child-fix

Weekly Downloads

899

Version

2.0.0

License

MIT

Last publish

Collaborators

  • mattdimu