We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 048826a commit 9e41e96Copy full SHA for 9e41e96
README.md
@@ -34,26 +34,22 @@ is left as is, to fallback to the CSS3 Calc feature.
34
35
```css
36
:root {
37
- var-main-font-size: 16px;
+ --main-font-size: 16px;
38
}
39
40
body {
41
- font-size: var(main-font-size);
+ font-size: var(--main-font-size);
42
43
44
h1 {
45
- font-size: calc(var(main-font-size) * 2);
+ font-size: calc(var(--main-font-size) * 2);
46
height: calc(100px - 2em);
47
48
```
49
50
**yields**:
51
52
53
-:root {
54
- var-main-font-size: 16px
55
-}
56
-
57
58
font-size: 16px
59
0 commit comments