-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (68 loc) · 1.46 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
html,
body {
background-color: #fff !important;
}
body {
display: -webkit-box;
display: flex;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
position: absolute;
width: 100%;
height: 100vh;
}
.animation-wrapper {
width: 80%;
padding-bottom: 40%;
}
.stagger-visualizer {
position: absolute;
width: 1100px;
height: 550px;
-webkit-transform-origin: left top;
transform-origin: left top;
}
.stagger-visualizer .dots-wrapper {
-webkit-transform: translateZ(0);
transform: translateZ(0);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: -webkit-box;
display: flex;
flex-wrap: wrap;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
}
.stagger-visualizer .dot {
position: relative;
z-index: 1;
width: 23px;
height: 23px;
margin: 16px;
background-color: currentColor;
border-radius: 50%;
}
@media (min-width: 740px) {
.stagger-visualizer .dot {
background-color: transparent;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(8%, #FFFFFF), to(#D3CDC6));
background-image: linear-gradient(180deg, #FFFFFF 8%, #D3CDC6 100%);
}
}
.stagger-visualizer .cursor {
position: absolute;
top: 0px;
left: 0px;
width: 37px;
height: 37px;
margin: 9px;
background-color: currentColor;
border-radius: 50%;
}