-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimated-footer.css
59 lines (52 loc) · 956 Bytes
/
animated-footer.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
.wave {
position: absolute;
top: -100px;
left: 0;
width: 100%;
height: 100px;
background: url("pictures/wave.png");
background-size: 1000px 100px;
}
.dark-mode .wave {
filter: brightness(0) invert(1);
}
.wave#wave1 {
z-index: 1000;
opacity: 1;
bottom: 0;
animation: animateWaves 10s linear infinite;
}
.wave#wave2 {
z-index: 999;
opacity: 0.4;
bottom: 10px;
animation: animate 9s linear infinite !important;
}
.wave#wave3 {
z-index: 1000;
opacity: 0.2;
bottom: 15px;
animation: animateWaves 7s linear infinite;
}
.wave#wave4 {
z-index: 999;
opacity: 0.6;
bottom: 20px;
animation: animate 9s linear infinite;
}
@keyframes animateWaves {
0% {
background-position-x: 1000px;
}
100% {
background-positon-x: 0px;
}
}
@keyframes animate {
0% {
background-position-x: -1000px;
}
100% {
background-positon-x: 0px;
}
}