forked from anuragmadhesia/HTML-and-CSS-Practice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
api_17jul_1.css
103 lines (103 loc) · 2.38 KB
/
api_17jul_1.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
body{
background: #133454;
display: flex;
align-content: center;
justify-content: center;
min-height: 100vh;
margin: 0px;
padding: 0px;
}
div{
position: relative;
display: flex;
justify-content: center;
align-items: center;
background: red;
}
span{
position: absolute;
display: block;
box-shadow: 0px 0px 30px 1px aqua;
border-radius: 50%;
border: 5px solid red;
}
span:nth-child(1){
height: 10px;
width: 10px;
animation: one 4s linear infinite;
animation-delay: 0.5s;
}
@keyframes one{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}
span:nth-child(2){
height: 50px;
width: 50px;
animation: two 4s linear infinite;
animation-delay: 1s;
}
@keyframes two{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}
span:nth-child(3){
height: 100px;
width: 100px;
animation: three 4s linear infinite;
animation-delay: 1.5s;
}
@keyframes three{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}
span:nth-child(4){
height: 150px;
width: 150px;
animation: four 4s linear infinite;
animation-delay: 2s;
}
@keyframes four{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}
span:nth-child(5){
height: 200px;
width: 200px;
animation: five 4s linear infinite;
animation-delay: 2.5s;
}
@keyframes five{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}
span:nth-child(6){
height: 250px;
width: 250px;
animation: six 4s linear infinite;
animation-delay: 3s;
}
@keyframes six{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}
span:nth-child(7){
height: 300px;
width: 300px;
animation: seven 4s linear infinite;
animation-delay: 3.5s;
}
@keyframes seven{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}
span:nth-child(8){
height: 350px;
width: 350px;
animation: eight 4s linear infinite;
animation-delay: 4s;
}
@keyframes eight{
0%{height: 0px; width: 0px; opacity: 1;}
100%{height: 400px; width: 400px; opacity: 0;}
}