Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

MattDiMu/postcss-nth-child-fix

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published