postcss-not-x-child
v1.0.0
Published
PostCSS plugin transform :not-first-child and :not-last-child to :not(:first-child) and :not(:last-child).
Downloads
9
Maintainers
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.