File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 22
33> [ PostCSS] ( https://github.com/postcss/postcss ) plugin adds a namespace/prefix to attribute selector.
44
5- [](https://travis-ci.org/GitScrum/postcss-attribute-selector-prefix)[](https://ci.appveyor.com/project/GitScrum/postcss-attribute-selector-prefix)[][testen repo][]()[](https://www.npmjs.com/package/postcss-attribute-selector-prefix)[](https://david-dm.org/gitscrum/postcss-attribute-selector-prefix)[](https://github.com/sindresorhus/xo)[](https://coveralls.io/r/GitScrum/postcss-attribute-selector-prefix)
5+ [](https://travis-ci.org/GitScrum/postcss-attribute-selector-prefix)[](https://ci.appveyor.com/project/GitScrum/postcss-attribute-selector-prefix)[]()[](https://www.npmjs.com/package/postcss-attribute-selector-prefix)[](https://david-dm.org/gitscrum/postcss-attribute-selector-prefix)[](https://github.com/sindresorhus/xo)[](https://coveralls.io/r/GitScrum/postcss-attribute-selector-prefix)
66
77[ ![ npm downloads] ( https://img.shields.io/npm/dm/postcss-attribute-selector-prefix.svg?style=flat-square )] ( https://www.npmjs.com/package/postcss-attribute-selector-prefix ) [ ![ npm] ( https://img.shields.io/npm/dt/postcss-attribute-selector-prefix.svg?style=flat-square )] ( https://www.npmjs.com/package/postcss-attribute-selector-prefix ) [ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/GitScrum/postcss-attribute-selector-prefix.svg?style=flat-square )] ( https://greenkeeper.io/ )
88
@@ -20,19 +20,19 @@ $ npm install postcss-attribute-selector-prefix
2020## Usage
2121
2222``` js
23- // dependencies
23+ // Dependencies
2424var fs = require (' fs' );
2525var postcss = require (' postcss' );
2626var attrSelectorPrefix = require (' postcss-attribute-selector-prefix' );
2727
28- // css to be processed
28+ // CSS to be processed
2929var css = fs .readFileSync (' css/input.css' , ' utf8' );
3030
31- // process css
31+ // Process css
3232var output = postcss ()
33- .use (attrSelectorPrefix ({prefix: ' test-' }))
34- .process (css)
35- .css ;
33+ .use (attrSelectorPrefix ({prefix: ' test-' }))
34+ .process (css)
35+ .css ;
3636
3737console .log (output);
3838```
You can’t perform that action at this time.
0 commit comments