-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
93 lines (86 loc) · 1.16 KB
/
style.css
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
body{
margin: 2em;
}
main {
font: normal 1em/1.4 helvetica;
color: white;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
main div{
margin: 1em;
padding: 0;
width: 20em;
height: 20em;
overflow: scroll;
}
pre{
margin: 0;
padding: 1em;
}
/* Vraag 1 */
@supports (display: grid) {
div#vraag1a {
background: blue;
}
}
div#vraag1a {
background: red;
}
div#vraag1b {
background: red;
}
@supports (display: grid) {
div#vraag1b {
background: blue;
}
}
/* Vraag 2 */
div#vraag2a {
background: red;
}
@supports (scroll-behaviour: smooth) {
div#vraag2a {
background: blue;
}
}
div#vraag2b {
background: red;
}
@supports (scroll-behavior: smooth) {
div#vraag2b {
background: blue;
}
}
/* Vraag 3 */
div#vraag3 {
background: red;
}
@supports (scroll-snap-stop: always) {
div#vraag3 {
background: blue;
}
}
/* Vraag 4
position sticky
*/
div#vraag4 {
background: red;
}
@supports (position: sticky) {
div#vraag4 {
background: blue;
}
}
/* Vraag 5
ANimation timeline
*/
div#vraag5 {
background: red;
}
@supports (animation-timeline: works) {
div#vraag5 {
background: blue;
}
}