forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-values.json
112 lines (112 loc) · 2.93 KB
/
css-values.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"spec": {
"title": "CSS Values and Units Module Level 4",
"url": "https://www.w3.org/TR/css-values-4/"
},
"properties": {},
"descriptors": {},
"valuespaces": {
"<url>": {
"value": "url( <string> <url-modifier>* ) | src( <string> <url-modifier>* )"
},
"<ratio>": {
"value": "<number [0,∞]> [ / <number [0,∞]> ]?"
},
"<position>": {
"value": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
},
"<attr()>": {
"value": "attr( <wq-name> <attr-type>? , <declaration-value>?)"
},
"<attr-type>": {
"value": "string | url | ident | color | number | percentage | length | angle | time | frequency | flex | <dimension-unit>"
},
"<calc()>": {
"value": "calc( <calc-sum> )"
},
"<min()>": {
"value": "min( <calc-sum># )"
},
"<max()>": {
"value": "max( <calc-sum># )"
},
"<clamp()>": {
"value": "clamp( <calc-sum>#{3} )"
},
"<round()>": {
"value": "round( <rounding-strategy>?, <calc-sum>, <calc-sum> )"
},
"<mod()>": {
"value": "mod( <calc-sum>, <calc-sum> )"
},
"<rem()>": {
"value": "rem( <calc-sum>, <calc-sum> )"
},
"<sin()>": {
"value": "sin( <calc-sum> )"
},
"<cos()>": {
"value": "cos( <calc-sum> )"
},
"<tan()>": {
"value": "tan( <calc-sum> )"
},
"<asin()>": {
"value": "asin( <calc-sum> )"
},
"<acos()>": {
"value": "acos( <calc-sum> )"
},
"<atan()>": {
"value": "atan( <calc-sum> )"
},
"<atan2()>": {
"value": "atan2( <calc-sum>, <calc-sum> )"
},
"<pow()>": {
"value": "pow( <calc-sum>, <calc-sum> )"
},
"<sqrt()>": {
"value": "sqrt( <calc-sum> )"
},
"<hypot()>": {
"value": "hypot( <calc-sum># )"
},
"<log()>": {
"value": "log( <calc-sum>, <calc-sum>? )"
},
"<exp()>": {
"value": "exp( <calc-sum> )"
},
"<abs()>": {
"value": "abs( <calc-sum> )"
},
"<sign()>": {
"value": "sign( <calc-sum> )"
},
"<calc-sum>": {
"value": "<calc-product> [ [ '+' | '-' ] <calc-product> ]*"
},
"<calc-product>": {
"value": "<calc-value> [ [ '*' | '/' ] <calc-value> ]*"
},
"<calc-value>": {
"value": "<number> | <dimension> | <percentage> | <calc-constant> | ( <calc-sum> )"
},
"<calc-constant>": {
"value": "e | pi | infinity | -infinity | NaN"
},
"<length-percentage>": {
"value": "[ <length> | <percentage> ]"
},
"<frequency-percentage>": {
"value": "[ <frequency> | <percentage> ]"
},
"<angle-percentage>": {
"value": "[ <angle> | <percentage> ]"
},
"<time-percentage>": {
"value": "[ <time> | <percentage> ]"
}
}
}