postcss-selector-prepend

0.5.0 • Public • Published

PostCSS Prepend Selector Build Status

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

Package Sidebar

Install

npm i postcss-selector-prepend

Weekly Downloads

288

Version

0.5.0

License

MIT

Last publish

Collaborators

  • samuelthomps0n