forked from kokonior/CSS-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwave-css.html
98 lines (76 loc) · 1.57 KB
/
wave-css.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
97
98
<style>
.ag-format-container {
width: 1142px;
margin: 0 auto;
}
.ag-wave {
padding: 100px 0;
background-color: #00a2ff;
position: relative;
}
.ag-wave:before {
content: "";
height: 125px;
width: 100%;
background: url(https://raw.githack.com/SochavaAG/example-mycode/master/pens/animation-wave-shadow/images/wave.svg) repeat-x scroll 0 0;
background-size: 1600px 198px;
position: absolute;
left: 0;
bottom: 0;
-webkit-filter: drop-shadow(5px -10px 3px rgba(0, 0, 0, .2));
filter: drop-shadow(5px -10px 3px rgba(0, 0, 0, .2));
-webkit-animation: an-wave 20s linear infinite;
-moz-animation: an-wave 20s linear infinite;
-o-animation: an-wave 20s linear infinite;
animation: an-wave 20s linear infinite;
}
@-webkit-keyframes an-wave {
100% {
background-position-x: -1600px;
}
}
@-moz-keyframes an-wave {
100% {
background-position-x: -1600px;
}
}
@-o-keyframes an-wave {
100% {
background-position-x: -1600px;
}
}
@keyframes an-wave {
100% {
background-position-x: -1600px;
}
}
@media only screen and (max-width: 767px) {
.ag-format-container {
width: 96%;
}
}
@media only screen and (max-width: 639px) {
}
@media only screen and (max-width: 479px) {
}
@media (min-width: 768px) and (max-width: 979px) {
.ag-format-container {
width: 750px;
}
}
@media (min-width: 980px) and (max-width: 1161px) {
.ag-format-container {
width: 960px;
}
}
</style>
<div class="ag-wave">
<div class="ag-format-container">
</div>
</div>
<script>
(function ($) {
$(function () {
});
})(jQuery);
</script>