forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss-align.json
226 lines (226 loc) · 7.12 KB
/
css-align.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
{
"spec": {
"title": "CSS Box Alignment Module Level 3",
"url": "https://drafts.csswg.org/css-align/"
},
"properties": {
"align-content": {
"name": "align-content",
"value": "normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",
"initial": "normal",
"appliesTo": "block containers, multicol containers, flex containers, and grid containers",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"align-content",
"alignContent"
]
},
"justify-content": {
"name": "justify-content",
"value": "normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",
"initial": "normal",
"appliesTo": "multicol containers, flex containers, and grid containers",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"justify-content",
"justifyContent"
]
},
"place-content": {
"name": "place-content",
"value": "<'align-content'> <'justify-content'>?",
"initial": "normal",
"appliesTo": "block containers, flex containers, and grid containers",
"inherited": "no",
"percentages": "n/a",
"computedValue": "see individual properties",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"place-content",
"placeContent"
]
},
"justify-self": {
"name": "justify-self",
"value": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",
"initial": "auto",
"appliesTo": "block-level boxes, absolutely-positioned boxes, and grid items",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"justify-self",
"justifySelf"
]
},
"align-self": {
"name": "align-self",
"value": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",
"initial": "auto",
"appliesTo": "flex items, grid items, and absolutely-positioned boxes",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"align-self",
"alignSelf"
]
},
"place-self": {
"name": "place-self",
"value": "<'align-self'> <'justify-self'>?",
"initial": "auto",
"appliesTo": "block-level boxes, absolutely-positioned boxes, and grid items",
"inherited": "no",
"percentages": "n/a",
"computedValue": "see individual properties",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"place-self",
"placeSelf"
]
},
"justify-items": {
"name": "justify-items",
"value": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",
"initial": "legacy",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s), except for legacy (see prose)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"justify-items",
"justifyItems"
]
},
"align-items": {
"name": "align-items",
"value": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",
"initial": "normal",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"align-items",
"alignItems"
]
},
"place-items": {
"name": "place-items",
"value": "<'align-items'> <'justify-items'>?",
"initial": "see individual properties",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "see individual properties",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"place-items",
"placeItems"
]
},
"row-gap": {
"name": "row-gap",
"value": "normal | <length-percentage>",
"initial": "normal",
"appliesTo": "multi-column containers, flex containers, grid containers",
"inherited": "no",
"percentages": "see § 8.3 Percentages In gap Properties",
"computedValue": "specified keyword, else a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"styleDeclaration": [
"row-gap",
"rowGap"
]
},
"column-gap": {
"name": "column-gap",
"value": "normal | <length-percentage>",
"initial": "normal",
"appliesTo": "multi-column containers, flex containers, grid containers",
"inherited": "no",
"percentages": "see § 8.3 Percentages In gap Properties",
"computedValue": "specified keyword, else a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"styleDeclaration": [
"column-gap",
"columnGap"
]
},
"gap": {
"name": "gap",
"value": "<'row-gap'> <'column-gap'>?",
"initial": "see individual properties",
"appliesTo": "multi-column containers, flex containers, grid containers",
"inherited": "no",
"percentages": "refer to corresponding dimension of the content area",
"computedValue": "see individual properties",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"styleDeclaration": [
"gap"
]
},
"grid-row-gap": {
"name": "grid-row-gap",
"styleDeclaration": [
"grid-row-gap",
"gridRowGap"
]
},
"grid-column-gap": {
"name": "grid-column-gap",
"styleDeclaration": [
"grid-column-gap",
"gridColumnGap"
]
},
"grid-gap": {
"name": "grid-gap",
"styleDeclaration": [
"grid-gap",
"gridGap"
]
}
},
"descriptors": {},
"valuespaces": {
"<self-position>": {
"value": "center | start | end | self-start | self-end | flex-start | flex-end"
},
"<content-position>": {
"value": "center | start | end | flex-start | flex-end"
},
"<baseline-position>": {
"value": "[ first | last ]? && baseline"
},
"<content-distribution>": {
"value": "space-between | space-around | space-evenly | stretch"
},
"<overflow-position>": {
"value": "unsafe | safe"
}
}
}