css-selector-prefixer
v0.0.1
Published
css string to scoped
Readme
Css-Selector-Prefixer
Install
npm install#build
mkdir lib
npm run build-js
npm run prod-jsexample
Input
str='h1{color:red;}'
cssSelectorPrefixer(str,'#id')Output
#id h1{
color:red;
}Command Line Execution
npm link
selectorprefixer ./test/test2.css \#id