-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpseudo-organic.html
96 lines (90 loc) · 2.03 KB
/
pseudo-organic.html
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
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
body {
background: grey;
}
.container {
border: 1px solid black;
display: flex;
align-items: center;
justify-content: center;
margin-top: 25vh;
position: absolute;
margin-left: 25vw;
}
.first {
width: 220px;
height: 220px;
border-radius: 45%;
background: rgba(0, 191, 255, 0.6);
position: absolute;
z-index: -3;
transform: rotate(90deg);
}
.second {
width: 280px;
height: 300px;
border-radius: 40%;
background: rgba(32, 178, 170, 0.5);
position: absolute;
z-index: -2;
transform: rotate(-45deg);
animation: counterclockwise 20s infinite linear;
}
.third {
width: 310px;
height: 330px;
background: rgba(0, 191, 255, 0.2);
border-radius: 40%;
z-index: -1;
transform: rotate(90deg);
animation: clockwise 20s infinite linear;
}
.fourth {
width: 350px;
height: 335px;
z-index: -1;
position: absolute;
background: rgba(255, 165, 0, 0.2);
border-radius: 45%;
display: flex;
align-items: center;
justify-content: center;
font-size: 100px;
}
@keyframes clockwise {
0% {
transform: rotate(90deg);
}
50% {
transform: rotate(360deg);
}
100% {
transform: rotate(90deg);
}
}
@keyframes counterclockwise {
0% {
transform: rotate(-45deg);
}
50% {
transform: rotate(-360deg);
}
100% {
transform: rotate(-45deg);
}
}
</style>
</head>
<body>
<div class="container">
<div class="first"></div>
<div class="second"></div>
<div class="third"></div>
<div class="fourth">☁️</div>
</div>
</body>
</html>