postcss-not-x-child

1.0.0 • Public • Published

PostCSS :not-X-child Build Status

PostCSS plugin transform :not-first-child and :not-last-child to :not(:first-child) and :not(:last-child).

Input:

div:not-first-child {
}
div:not-last-child {
}

Output:

div:not(:first-child) {
}
div:not(:last-child) {
}

Usage

postcss([ require('postcss-not-x-child') ])

See PostCSS docs for examples for your environment.

/postcss-not-x-child/

    Package Sidebar

    Install

    npm i postcss-not-x-child

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • hudochenkov