postcss-selector-prepend
v0.5.0
Published
PostCSS plugin Prepend selector for each rule
Downloads
1,244
Maintainers
Readme
PostCSS Prepend Selector
PostCSS plugin Prepend selector for each rule.
.foo {
/* Input example */
}
.foo, .bar {
/* Input example */
}
.selector .foo {
/* Output example */
}
.selector .foo, .selector .bar {
/* Output example */
}
Usage
postcss([ require('postcss-selector-prepend')( { selector: '.selector ' } ) ])
See PostCSS docs for examples for your environment
Forked from ledniy/postcss-prepend-selector