postcss-selector-prefixer

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i postcss-selector-prefixer

Weekly Downloads

3

Version

1.0.2

License

MIT

Last publish

Collaborators

  • ronnyamarante