postcss-nth-child-fix
v2.0.0
Published
PostCSS plugin to fix a known android bug with nth-child (safe).
Downloads
5,561
Maintainers
Readme
PostCSS Nth Child Fix
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.