-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathcss-scroll-snap-2.json
69 lines (69 loc) · 2.4 KB
/
css-scroll-snap-2.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
{
"spec": {
"title": "CSS Scroll Snap Module Level 2",
"url": "https://drafts.csswg.org/css-scroll-snap-2/"
},
"properties": [
{
"name": "scroll-initial-target",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-initial-target",
"value": "none | nearest",
"initial": "none",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "see individual properties",
"canonicalOrder": "per grammar",
"animationType": "none",
"values": [
{
"name": "none",
"prose": "The element is not an initial scroll target.",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-initial-target-none",
"type": "value",
"value": "none"
},
{
"name": "nearest",
"prose": "The element is potentially an initial scroll target for its nearest scroll container ancestor.",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-initial-target-nearest",
"type": "value",
"value": "nearest"
}
],
"styleDeclaration": [
"scroll-initial-target",
"scrollInitialTarget"
]
}
],
"atrules": [],
"selectors": [
{
"name": ":snapped",
"prose": "The :snapped pseudo-class matches any scroll snap targets, regardless of axis. The longform physical and logical pseudo-class selectors allow for more finite snapped children styling as they can target an individual axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped"
},
{
"name": ":snapped-x",
"prose": "Matches the child snapped on the horizontal axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-x"
},
{
"name": ":snapped-y",
"prose": "Matches the child snapped on the vertical axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-y"
},
{
"name": ":snapped-inline",
"prose": "Matches the child snapped on the inline axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-inline"
},
{
"name": ":snapped-block",
"prose": "Matches the child snapped on the block axis.",
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-block"
}
],
"values": []
}