1
+ html ,
2
+ body {
3
+ width : 100% ;
4
+ height : 100% ;
5
+ background-color : # 292929 ;
6
+ padding-top : 50px ;
7
+ }
8
+
9
+ * ,
10
+ * : before ,
11
+ * : after {
12
+ box-sizing : border-box;
13
+ margin : 0 ;
14
+ padding : 0 ;
15
+ }
16
+
17
+ .strain {
18
+ width : 155px ;
19
+ height : 1px ;
20
+ background-color : # dbdbdb ;
21
+ position : relative;
22
+ margin : 0px auto;
23
+ margin-top : 28px ;
24
+ margin-bottom : 28px ;
25
+ -webkit-animation-name : rotate-strain;
26
+ animation-name : rotate-strain;
27
+ -webkit-animation-duration : 1.7s ;
28
+ animation-duration : 1.7s ;
29
+ -webkit-animation-timing-function : linear;
30
+ animation-timing-function : linear;
31
+ -webkit-animation-iteration-count : infinite;
32
+ animation-iteration-count : infinite;
33
+ -webkit-animation-play-state : running;
34
+ animation-play-state : running;
35
+ }
36
+
37
+ .strain : before {
38
+ content : "" ;
39
+ display : block;
40
+ position : absolute;
41
+ width : 18px ;
42
+ height : 18px ;
43
+ border-radius : 50% ;
44
+ background-color : # 13b6e2 ;
45
+ left : 0 ;
46
+ margin-top : -9px ;
47
+ margin-left : -9px ;
48
+ -webkit-animation-name : strain-size-left;
49
+ animation-name : strain-size-left;
50
+ -webkit-animation-duration : 1.7s ;
51
+ animation-duration : 1.7s ;
52
+ -webkit-animation-timing-function : linear;
53
+ animation-timing-function : linear;
54
+ -webkit-animation-iteration-count : infinite;
55
+ animation-iteration-count : infinite;
56
+ -webkit-animation-play-state : running;
57
+ animation-play-state : running;
58
+ }
59
+
60
+ .strain : after {
61
+ content : "" ;
62
+ display : block;
63
+ position : absolute;
64
+ width : 18px ;
65
+ height : 18px ;
66
+ border-radius : 50% ;
67
+ background-color : # 13b6e2 ;
68
+ right : 0 ;
69
+ margin-top : -9px ;
70
+ margin-right : -9px ;
71
+ -webkit-animation-name : strain-size-right;
72
+ animation-name : strain-size-right;
73
+ -webkit-animation-duration : 1.7s ;
74
+ animation-duration : 1.7s ;
75
+ -webkit-animation-timing-function : linear;
76
+ animation-timing-function : linear;
77
+ -webkit-animation-iteration-count : infinite;
78
+ animation-iteration-count : infinite;
79
+ -webkit-animation-play-state : running;
80
+ animation-play-state : running;
81
+ }
82
+
83
+ .strain : nth-child (1 ),
84
+ .strain : nth-child (1 ): before ,
85
+ .strain : nth-child (1 ): after {
86
+ -webkit-animation-delay : 0.15s ;
87
+ animation-delay : 0.15s ;
88
+ }
89
+
90
+ .strain : nth-child (2 ),
91
+ .strain : nth-child (2 ): before ,
92
+ .strain : nth-child (2 ): after {
93
+ -webkit-animation-delay : 0.3s ;
94
+ animation-delay : 0.3s ;
95
+ }
96
+
97
+ .strain : nth-child (3 ),
98
+ .strain : nth-child (3 ): before ,
99
+ .strain : nth-child (3 ): after {
100
+ -webkit-animation-delay : 0.45s ;
101
+ animation-delay : 0.45s ;
102
+ }
103
+
104
+ .strain : nth-child (4 ),
105
+ .strain : nth-child (4 ): before ,
106
+ .strain : nth-child (4 ): after {
107
+ -webkit-animation-delay : 0.6s ;
108
+ animation-delay : 0.6s ;
109
+ }
110
+
111
+ .strain : nth-child (5 ),
112
+ .strain : nth-child (5 ): before ,
113
+ .strain : nth-child (5 ): after {
114
+ -webkit-animation-delay : 0.75s ;
115
+ animation-delay : 0.75s ;
116
+ }
117
+
118
+ .strain : nth-child (6 ),
119
+ .strain : nth-child (6 ): before ,
120
+ .strain : nth-child (6 ): after {
121
+ -webkit-animation-delay : 0.9s ;
122
+ animation-delay : 0.9s ;
123
+ }
124
+
125
+ .strain : nth-child (7 ),
126
+ .strain : nth-child (7 ): before ,
127
+ .strain : nth-child (7 ): after {
128
+ -webkit-animation-delay : 1.05s ;
129
+ animation-delay : 1.05s ;
130
+ }
131
+
132
+ .strain : nth-child (8 ),
133
+ .strain : nth-child (8 ): before ,
134
+ .strain : nth-child (8 ): after {
135
+ -webkit-animation-delay : 1.2s ;
136
+ animation-delay : 1.2s ;
137
+ }
138
+
139
+ .strain : nth-child (9 ),
140
+ .strain : nth-child (9 ): before ,
141
+ .strain : nth-child (9 ): after {
142
+ -webkit-animation-delay : 1.35s ;
143
+ animation-delay : 1.35s ;
144
+ }
145
+
146
+ .strain : nth-child (10 ),
147
+ .strain : nth-child (10 ): before ,
148
+ .strain : nth-child (10 ): after {
149
+ -webkit-animation-delay : 1.5s ;
150
+ animation-delay : 1.5s ;
151
+ }
152
+
153
+ .strain : nth-child (11 ),
154
+ .strain : nth-child (11 ): before ,
155
+ .strain : nth-child (11 ): after {
156
+ -webkit-animation-delay : 1.65s ;
157
+ animation-delay : 1.65s ;
158
+ }
159
+
160
+ .strain : nth-child (12 ),
161
+ .strain : nth-child (12 ): before ,
162
+ .strain : nth-child (12 ): after {
163
+ -webkit-animation-delay : 1.8s ;
164
+ animation-delay : 1.8s ;
165
+ }
166
+
167
+ @-webkit-keyframes rotate-strain {
168
+ 0% {
169
+ width : 155px ;
170
+ }
171
+
172
+ 25% {
173
+ width : 0 ;
174
+ }
175
+
176
+ 50% {
177
+ width : 155px ;
178
+ }
179
+
180
+ 75% {
181
+ width : 0 ;
182
+ }
183
+
184
+ 100% {
185
+ width : 155px ;
186
+ }
187
+ }
188
+
189
+ @keyframes rotate-strain {
190
+ 0% {
191
+ width : 155px ;
192
+ }
193
+
194
+ 25% {
195
+ width : 0 ;
196
+ }
197
+
198
+ 50% {
199
+ width : 155px ;
200
+ }
201
+
202
+ 75% {
203
+ width : 0 ;
204
+ }
205
+
206
+ 100% {
207
+ width : 155px ;
208
+ }
209
+ }
210
+
211
+ @-webkit-keyframes strain-size-left {
212
+ 0% {
213
+ transform : scale (1 ) translateX (0px );
214
+ }
215
+
216
+ 25% {
217
+ transform : scale (0.5 );
218
+ }
219
+
220
+ 50% {
221
+ transform : scale (1 ) translateX (155px );
222
+ }
223
+
224
+ 75% {
225
+ transform : scale (1.5 );
226
+ }
227
+
228
+ 100% {
229
+ transform : scale (1 ) translateX (0px );
230
+ }
231
+ }
232
+
233
+ @keyframes strain-size-left {
234
+ 0% {
235
+ transform : scale (1 ) translateX (0px );
236
+ }
237
+
238
+ 25% {
239
+ transform : scale (0.5 );
240
+ }
241
+
242
+ 50% {
243
+ transform : scale (1 ) translateX (155px );
244
+ }
245
+
246
+ 75% {
247
+ transform : scale (1.5 );
248
+ }
249
+
250
+ 100% {
251
+ transform : scale (1 ) translateX (0px );
252
+ }
253
+ }
254
+
255
+ @-webkit-keyframes strain-size-right {
256
+ 0% {
257
+ transform : scale (1 ) translateX (0px );
258
+ }
259
+
260
+ 25% {
261
+ transform : scale (1.5 );
262
+ }
263
+
264
+ 50% {
265
+ transform : scale (1 ) translateX (-155px );
266
+ }
267
+
268
+ 75% {
269
+ transform : scale (0.5 );
270
+ }
271
+
272
+ 100% {
273
+ transform : scale (1 ) translateX (0px );
274
+ }
275
+ }
276
+
277
+ @keyframes strain-size-right {
278
+ 0% {
279
+ transform : scale (1 ) translateX (0px );
280
+ }
281
+
282
+ 25% {
283
+ transform : scale (1.5 );
284
+ }
285
+
286
+ 50% {
287
+ transform : scale (1 ) translateX (-155px );
288
+ }
289
+
290
+ 75% {
291
+ transform : scale (0.5 );
292
+ }
293
+
294
+ 100% {
295
+ transform : scale (1 ) translateX (0px );
296
+ }
297
+ }
0 commit comments