Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 890 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 890 Bytes

postcss-selector-prefixer Build Status npm version

PostCSS plugin for selector prefixer.

.foo {
  /* Input example */
  color: red;
}
.myPrefix_foo {
  /* Output example */
  color: red;
}

Demo

Gif Demo

Usage

postcss([ require('postcss-selector-prefixer')({ prefix: 'myPrefix_' }) ])

See PostCSS docs for examples for your environment.