Neurotic Programmer Masquerade

    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.

    Install

    npm i postcss-nth-child-fix

    DownloadsWeekly Downloads

    1,061

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • mattdimu