postcss-selector-prepend

PostCSS plugin Prepend selector for each rule

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
postcss-selector-prepend
000.5.05 years ago5 years agoMinified + gzip package size for postcss-selector-prepend in KB

Readme

PostCSS Prepend Selector !Build Statusci-imgci
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