-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtexst.css
122 lines (111 loc) · 2.15 KB
/
texst.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
*{
margin: 0%;
padding: 0%;
box-sizing: border-box;
}
.bowl{
position:relative;
width :300px;
height: 300px;
background:rgba(255,255,255,0.1);
border-radius: 50%;
color:blue;
border:8px solid transparent;
transform-origin: bottom center;
animation: animate 5s linear infinite;
}
@keyframes animate{
0%{
filter: hue-rotate(0deg);
transform:rotate(0deg);
}
25% {
transform:rotate(15deg);
}
50%{
transform:rotate(0deg);
}
75%{
transform:rotate(-15deg);
}
100%{
filter: hue-rotate(360deg);
transform:rotate(0deg);
}
}
.bowl::before{
content:'';
position: absolute;
top:-15px;
left:50%;
transform :translate(-50%);
width:40%;
height:30px;
border:15px solid #444;
border-radius:50% ;
color:blue;
box-shadow: 0 10px #222;
}
.bowl::after{
content:'';
position: absolute;
top:40%;
left:50%;
transform :translate(-50%,-50%);
border-radius: 50%;
width:150%;
height:80px;
background: rgba(255,255,255,0.05);
}
.liquid{
position: relative;
top: 54%;
left: 5px;
right: 5px;
bottom:5px;
background: #41c1fb;
border-bottom-left-radius: 150px;
border-bottom-right-radius: 150px;
filter: drop-shadow(0 0 80px #41c1fb);
transform-origin: top center;
animation: animate-liquid 5s linear infinite;
}
@keyframes animate-liquid{
0%{
filter: hue-rotate(0deg);
transform:rotate(0deg);
}
25% {
transform:rotate(-20deg);
}
50%{
transform:rotate(0deg);
}
75%{
transform:rotate(20deg);
}
100%{
filter: hue-rotate(360deg);
transform:rotate(0deg);
}
}
.liquid::before{
content:'';
position: absolute;
top:-10px;
background: #1fa4e0;
filter: drop-shadow(0 0 80px #41c1fb);
border-radius: 50%;
width:100%;
height:20px;
}
.shadow{
position:absolute;
top:calc(50% + 150px);
left: 50%;
transform: translate(-50%,-50%);
width: 300px;
height:30px;
background:rgba(0,0,0,0.05);
border-radius: 50%;
}