Skip to content

amaranter/postcss-selector-prefixer

Repository files navigation

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.

About

[PostCSS] plugin for selector prefixer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published