Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

ledniy/postcss-prepend-selector

Repository files navigation

Up-to-date alternative https://github.com/RadValentin/postcss-prefix-selector

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-prepend-selector')( { selector: '.selector ' } ) ])

See PostCSS docs for examples for your environment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •