-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (64 loc) · 1.36 KB
/
index.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
<style>
.water-waves {
margin: 0 auto;
overflow: hidden;
position: relative;
width: 100px;
height: 100px;
border-radius: 50%;
border: 1px solid silver;
text-align: center;
line-height: 50px;
animation: water-waves linear infinite;
}
.water-wave1 {
position: absolute;
top: 40%;
left: -25%;
background: #33cfff;
opacity: 0.7;
width: 200%;
height: 200%;
border-radius: 40%;
animation: inherit;
animation-duration: 5s;
}
.water-wave2 {
position: absolute;
top: 45%;
left: -35%;
background: #0eaffe;;
opacity: 0.5;
width: 200%;
height: 200%;
border-radius: 35%;
animation: inherit;
animation-duration: 7s;
}
.water-wave3 {
position: absolute;
top: 50%;
left: -35%;
background: #0f7ae4;
opacity: 0.3;
width: 200%;
height: 200%;
border-radius: 33%;
animation: inherit;
animation-duration: 11s;
}
@keyframes water-waves {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<div class="water-waves">
<div class="water-wave1"></div>
<div class="water-wave2"></div>
<div class="water-wave3"></div>
水波效果
</div>