You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Add some PostCSS and it will show you the transformed/compiled CSS.
25
25
26
26
You can try any of these examples on the [code playground](https://madlittlemods.github.io/postcss-css-variables/playground/).
27
27
28
-
```
28
+
```js
29
29
var postcss =require('postcss');
30
30
var cssvariables =require('postcss-css-variables');
31
31
@@ -52,7 +52,7 @@ You can add rules that declare CSS variables nested inside at-rules. You can eve
52
52
53
53
The following CSS:
54
54
55
-
```
55
+
```css
56
56
:root {
57
57
--width: 100px;
58
58
}
@@ -70,7 +70,7 @@ The following CSS:
70
70
71
71
will be processed to:
72
72
73
-
```
73
+
```css
74
74
.box {
75
75
width: 100px;
76
76
}
@@ -87,7 +87,7 @@ will be processed to:
87
87
88
88
When using this feature, `postcss-css-variables` will output invalid CSS by itself(but you did input invalid CSS anyway). This feature is best paired with [`postcss-nested`](https://github.com/postcss/postcss-nested) in order to properly expand the rules.
89
89
90
-
```
90
+
```js
91
91
var postcss =require('postcss');
92
92
var cssvariables =require('postcss-css-variables');
0 commit comments