-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathcss-variables.json
23 lines (23 loc) · 1.02 KB
/
css-variables.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"spec": {
"title": "CSS Custom Properties for Cascading Variables Module Level 2",
"url": "https://drafts.csswg.org/css-variables-2/"
},
"properties": [],
"atrules": [],
"selectors": [],
"values": [
{
"name": "<custom-property-name>",
"prose": "A custom property is any property whose name starts with two dashes (U+002D HYPHEN-MINUS), like --foo. The <custom-property-name> production corresponds to this: it’s defined as any <dashed-ident> (a valid identifier that starts with two dashes), except -- itself, which is reserved for future use by CSS. Custom properties are solely for use by authors and users; CSS will never give them a meaning beyond what is presented here.",
"href": "https://drafts.csswg.org/css-variables-2/#typedef-custom-property-name",
"type": "type"
},
{
"name": "var()",
"href": "https://drafts.csswg.org/css-variables-2/#funcdef-var",
"type": "function",
"value": "var( <custom-property-name> , <declaration-value>? )"
}
]
}