-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
179 lines (168 loc) · 2.49 KB
/
main.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
* {
box-sizing: border-box;
}
*:before, *:after {
box-sizing: border-box;
}
.box {
height: 200px;
width: 200px;
overflow: hidden;
border-radius: 35px;
position: absolute;
left: 50%;
top: 50%;
margin-top: -100px;
margin-left: -100px;
}
.box:after {
position: relative;
content: "";
display: block;
top: 0;
left: 0;
width: 100%;
height: 2000px;
background: linear-gradient(135deg, #5335CF 0%, #DE005E 25%, #F66E48 50%, #DE005E 75%, #5335CF 100%);
animation: animatebg 10s infinite linear;
}
@keyframes animatebg {
0% {
top: 0;
}
50% {
top: -1800px;
}
100% {
top: 0;
}
}
.logo > div {
position: absolute;
top: 50%;
left: 50%;
border: 9px #fff solid;
z-index: 2;
}
.logo > div.logo-dot {
border: 7px #fff solid;
border-radius: 10em;
right: 23%;
top: 23%;
left: auto;
}
.logo-border {
margin-top: -37%;
margin-left: -37%;
border-radius: 10em;
width: 74%;
height: 74%;
}
.logo-circle {
margin-top: -24%;
margin-left: -24%;
border-radius: 10em;
width: 48%;
height: 48%;
}
@keyframes animatebox {
0% {
transform: scale(0);
border-radius: 35px;
}
2.5% {
transform: scale(1.1);
border-radius: 10em;
}
5% {
transform: scale(1);
border-radius: 35px;
}
96% {
transform: scale(1);
border-radius: 35px;
}
98% {
transform: scale(1.1);
border-radius: 10em;
}
100% {
transform: scale(0);
}
}
@keyframes animateborder {
0% {
border-radius: 10em;
transform: scale(0);
opacity: 0;
}
2% {
opacity: 0;
}
18% {
border-radius: 35px;
transform: scale(1);
opacity: 1;
}
90% {
border-radius: 35px;
transform: scale(1);
}
}
@keyframes animatecircle {
0% {
transform: scale(0);
opacity: 0;
}
5% {
transform: scale(0);
opacity: 0;
}
10% {
transform: scale(1.3);
opacity: 1;
}
15% {
transform: scale(1);
}
95% {
transform: scale(1);
background-color: transparent;
}
97% {
transform: scale(1.2);
background-color: #ffffff;
}
100% {
transform: scale(1);
}
}
@keyframes animatedot {
0% {
opacity: 0;
}
20% {
opacity: 0;
}
25% {
opacity: 1;
}
75% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.box {
animation: animatebox 10s infinite alternate;
}
.logo-border {
animation: animateborder 5s infinite alternate;
}
.logo-circle {
animation: animatecircle 5s infinite alternate;
}
.logo-dot {
animation: animatedot 5s infinite normal;
}