postcss-class-prefix
A PostCSS plugin to prefix/namespace classes.
Avoid collisions with other libraries/stylesheets by prefixing your components with a namespace.
Example input
Example output
classPrefix('pfx-')
Installation
npm install postcss-class-prefix
Usage
var fs = ;var postcss = ;var classPrfx = ; var css = fs;var out = ;
ignore
option
Using the var fs = ;var postcss = ;var classPrfx = ; var css = fs;var out = ;
License
MIT
Acknowledgements
- Based on rework-class-prefix (originally)