File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ We strive for the most complete transformation but we/no plugin can achieve true
1111## Latest Version: 0.2.2
1212### [ Changelog] ( https://github.com/MadLittleMods/postcss-css-variables/blob/master/CHANGELOG.md )
1313
14+ ### Install
15+
16+ ` npm install postcss-css-variables --save-dev `
17+
1418
1519# Usage
1620
@@ -87,10 +91,10 @@ var mycss = fs.readFileSync('input.css', 'utf8');
8791
8892// Process your CSS with postcss-css-variables
8993var output = postcss([
90- // Process any CSS variables
91- cssvariables(/*options*/) ,
92- // After we processed all of the variables, flatten/unnest rules
93- nestedcss
94+ // Flatten/unnest rules
95+ nestedcss ,
96+ // Then process any CSS variables
97+ cssvariables(/*options*/)
9498 ])
9599 .process(mycss)
96100 .css;
You can’t perform that action at this time.
0 commit comments