README
PostCSS :not-X-child
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.