-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathcss-scroll-snap.json
643 lines (643 loc) · 29.3 KB
/
css-scroll-snap.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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
{
"spec": {
"title": "CSS Scroll Snap Module Level 1",
"url": "https://drafts.csswg.org/css-scroll-snap-1/"
},
"properties": [
{
"name": "scroll-snap-type",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-type",
"value": "none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",
"initial": "none",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "x",
"prose": "The scroll container snaps to snap positions in its horizontal axis only.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-x",
"type": "value",
"value": "x"
},
{
"name": "y",
"prose": "The scroll container snaps to snap positions in its vertical axis only.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-y",
"type": "value",
"value": "y"
},
{
"name": "block",
"prose": "The scroll container snaps to snap positions in its block axis only.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-block",
"type": "value",
"value": "block"
},
{
"name": "inline",
"prose": "The scroll container snaps to snap positions in its inline axis only.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-inline",
"type": "value",
"value": "inline"
},
{
"name": "both",
"prose": "The scroll container snaps to snap positions in both of its axes independently (potentially snapping to different elements in each axis).",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-both",
"type": "value",
"value": "both"
},
{
"name": "none",
"prose": "If specified on a scroll container, the scroll container must not snap.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-none",
"type": "value",
"value": "none"
},
{
"name": "mandatory",
"prose": "If specified on a scroll container, the scroll container is required to be snapped to a snap position when there are no active scrolling operations. If a valid snap position exists then the scroll container must snap at the termination of a scroll (if none exist then no snapping occurs).",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-mandatory",
"type": "value",
"value": "mandatory"
},
{
"name": "proximity",
"prose": "If specified on a scroll container, the scroll container may snap to a snap position at the termination of a scroll, at the discretion of the UA given the parameters of the scroll.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-proximity",
"type": "value",
"value": "proximity"
}
],
"styleDeclaration": [
"scroll-snap-type",
"scrollSnapType"
]
},
{
"name": "scroll-padding",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding",
"value": "[ auto | <length-percentage [0,∞]> ]{1,4}",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the corresponding dimension of the scroll container’s scrollport",
"computedValue": "per side, either the keyword auto or a computed <length-percentage> value",
"animationType": "by computed value type",
"canonicalOrder": "per grammar",
"values": [
{
"name": "<length-percentage [0,∞]>",
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
"type": "value",
"value": "<length-percentage [0,∞]>"
},
{
"name": "auto",
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"scroll-padding",
"scrollPadding"
]
},
{
"name": "scroll-margin",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin",
"value": "<length>{1,4}",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "per side, an absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"styleDeclaration": [
"scroll-margin",
"scrollMargin"
]
},
{
"name": "scroll-snap-align",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-align",
"value": "[ none | start | end | center ]{1,2}",
"initial": "none",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "two keywords",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "none",
"prose": "This box does not define a snap position in the specified axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-none",
"type": "value",
"value": "none"
},
{
"name": "start",
"prose": "Start alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-start",
"type": "value",
"value": "start"
},
{
"name": "end",
"prose": "End alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-end",
"type": "value",
"value": "end"
},
{
"name": "center",
"prose": "Center alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-center",
"type": "value",
"value": "center"
}
],
"styleDeclaration": [
"scroll-snap-align",
"scrollSnapAlign"
]
},
{
"name": "scroll-snap-stop",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-stop",
"value": "normal | always",
"initial": "normal",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "normal",
"prose": "The scroll container may pass over a snap position defined by this element during the execution of a scrolling operation.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-stop-normal",
"type": "value",
"value": "normal"
},
{
"name": "always",
"prose": "The scroll container must not pass over a snap position defined by this element during the execution of a scrolling operation; it must instead snap to the first of this element’s snap positions.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-stop-always",
"type": "value",
"value": "always"
}
],
"styleDeclaration": [
"scroll-snap-stop",
"scrollSnapStop"
]
},
{
"name": "scroll-padding-top",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-top",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"styleDeclaration": [
"scroll-padding-top",
"scrollPaddingTop"
]
},
{
"name": "scroll-padding-right",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-right",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"styleDeclaration": [
"scroll-padding-right",
"scrollPaddingRight"
]
},
{
"name": "scroll-padding-bottom",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-bottom",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"styleDeclaration": [
"scroll-padding-bottom",
"scrollPaddingBottom"
]
},
{
"name": "scroll-padding-left",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-left",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"styleDeclaration": [
"scroll-padding-left",
"scrollPaddingLeft"
]
},
{
"name": "scroll-padding-inline-start",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline-start",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"values": [
{
"name": "<length-percentage [0,∞]>",
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
"type": "value",
"value": "<length-percentage [0,∞]>"
},
{
"name": "auto",
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"scroll-padding-inline-start",
"scrollPaddingInlineStart"
]
},
{
"name": "scroll-padding-block-start",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block-start",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"values": [
{
"name": "<length-percentage [0,∞]>",
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
"type": "value",
"value": "<length-percentage [0,∞]>"
},
{
"name": "auto",
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"scroll-padding-block-start",
"scrollPaddingBlockStart"
]
},
{
"name": "scroll-padding-inline-end",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline-end",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"values": [
{
"name": "<length-percentage [0,∞]>",
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
"type": "value",
"value": "<length-percentage [0,∞]>"
},
{
"name": "auto",
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"scroll-padding-inline-end",
"scrollPaddingInlineEnd"
]
},
{
"name": "scroll-padding-block-end",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block-end",
"value": "auto | <length-percentage [0,∞]>",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "the keyword auto or a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-padding",
"values": [
{
"name": "<length-percentage [0,∞]>",
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
"type": "value",
"value": "<length-percentage [0,∞]>"
},
{
"name": "auto",
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"scroll-padding-block-end",
"scrollPaddingBlockEnd"
]
},
{
"name": "scroll-padding-block",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block",
"value": "[ auto | <length-percentage [0,∞]> ]{1,2}",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "see individual properties",
"animationType": "by computed value",
"canonicalOrder": "per grammar",
"values": [
{
"name": "<length-percentage [0,∞]>",
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
"type": "value",
"value": "<length-percentage [0,∞]>"
},
{
"name": "auto",
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"scroll-padding-block",
"scrollPaddingBlock"
]
},
{
"name": "scroll-padding-inline",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline",
"value": "[ auto | <length-percentage [0,∞]> ]{1,2}",
"initial": "auto",
"appliesTo": "scroll containers",
"inherited": "no",
"percentages": "relative to the scroll container’s scrollport",
"computedValue": "see individual properties",
"animationType": "by computed value",
"canonicalOrder": "per grammar",
"values": [
{
"name": "<length-percentage [0,∞]>",
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
"type": "value",
"value": "<length-percentage [0,∞]>"
},
{
"name": "auto",
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"scroll-padding-inline",
"scrollPaddingInline"
]
},
{
"name": "scroll-margin-top",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-top",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-top",
"scrollMarginTop"
]
},
{
"name": "scroll-margin-right",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-right",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-right",
"scrollMarginRight"
]
},
{
"name": "scroll-margin-bottom",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-bottom",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-bottom",
"scrollMarginBottom"
]
},
{
"name": "scroll-margin-left",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-left",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-left",
"scrollMarginLeft"
]
},
{
"name": "scroll-margin-block-start",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block-start",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-block-start",
"scrollMarginBlockStart"
]
},
{
"name": "scroll-margin-inline-start",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline-start",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-inline-start",
"scrollMarginInlineStart"
]
},
{
"name": "scroll-margin-block-end",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block-end",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-block-end",
"scrollMarginBlockEnd"
]
},
{
"name": "scroll-margin-inline-end",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline-end",
"value": "<length>",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"logicalPropertyGroup": "scroll-margin",
"styleDeclaration": [
"scroll-margin-inline-end",
"scrollMarginInlineEnd"
]
},
{
"name": "scroll-margin-block",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block",
"value": "<length>{1,2}",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "see individual properties",
"animationType": "by computed value type",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"scroll-margin-block",
"scrollMarginBlock"
]
},
{
"name": "scroll-margin-inline",
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline",
"value": "<length>{1,2}",
"initial": "0",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "see individual properties",
"animationType": "by computed value type",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"scroll-margin-inline",
"scrollMarginInline"
]
}
],
"atrules": [],
"selectors": [],
"values": []
}