-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
204 lines (177 loc) · 4.36 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
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
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
main {
height: 100vh;
display: -ms-grid;
display: grid;
place-content: center;
background-color: #242424;
}
.parent {
width: 20em;
height: 20em;
border-radius: 50%;
background-color: rgba(255, 166, 0, 0.253);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
position: relative;
-webkit-transition: 4s ease-in-out;
transition: 4s ease-in-out;
}
.parent:hover {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-webkit-box-shadow: 0 0 20px -7px rgba(255, 166, 0, 0.432);
box-shadow: 0 0 20px -7px rgba(255, 166, 0, 0.432);
}
@-webkit-keyframes par {
100% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}
@keyframes par {
100% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}
.wrapper {
width: 20em;
height: 1px;
background-color: rgba(128, 128, 128, 0.26);
display: -ms-grid;
display: grid;
place-content: center;
position: absolute;
-webkit-animation: guidelines 6s ease-in-out forwards alternate infinite;
animation: guidelines 6s ease-in-out forwards alternate infinite;
}
.wrapper > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 0s;
animation: move 2s infinite alternate ease-in-out 0s;
}
.wrapper2 {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
.wrapper2 > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 1000ms;
animation: move 2s infinite alternate ease-in-out 1000ms;
}
.wrapper3 {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.wrapper3 > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 500ms;
animation: move 2s infinite alternate ease-in-out 500ms;
}
.wrapper4 {
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
.wrapper4 > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 1500ms;
animation: move 2s infinite alternate ease-in-out 1500ms;
}
.wrapper5 {
-webkit-transform: rotate(22.5deg);
transform: rotate(22.5deg);
}
.wrapper5 > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 250ms;
animation: move 2s infinite alternate ease-in-out 250ms;
}
.wrapper6 {
-webkit-transform: rotate(112.5deg);
transform: rotate(112.5deg);
}
.wrapper6 > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 1250ms;
animation: move 2s infinite alternate ease-in-out 1250ms;
}
.wrapper7 {
-webkit-transform: rotate(67.5deg);
transform: rotate(67.5deg);
}
.wrapper7 > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 750ms;
animation: move 2s infinite alternate ease-in-out 750ms;
}
.wrapper8 {
-webkit-transform: rotate(157.5deg);
transform: rotate(157.5deg);
}
.wrapper8 > .circle {
-webkit-animation: move 2s infinite alternate ease-in-out 1750ms;
animation: move 2s infinite alternate ease-in-out 1750ms;
}
.circle {
width: 2em;
height: 2em;
border-radius: 50%;
background-color: orange;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.411);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.411);
opacity: 0;
}
main h3 {
position: absolute;
left: 50%;
top: 13%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
font-family: Raleway;
z-index: 100;
color: orange;
}
@-webkit-keyframes guidelines {
0% {
background-color: rgba(128, 128, 128, 0.425);
}
100% {
background-color: transparent;
}
}
@keyframes guidelines {
0% {
background-color: rgba(128, 128, 128, 0.425);
}
100% {
background-color: transparent;
}
}
@-webkit-keyframes move {
0% {
-webkit-transform: translate(-9em);
transform: translate(-9em);
opacity: 1;
}
100% {
-webkit-transform: translate(9em);
transform: translate(9em);
opacity: 1;
}
}
@keyframes move {
0% {
-webkit-transform: translate(-9em);
transform: translate(-9em);
opacity: 1;
}
100% {
-webkit-transform: translate(9em);
transform: translate(9em);
opacity: 1;
}
}
/*# sourceMappingURL=style.css.map */