-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
108 lines (92 loc) · 1.86 KB
/
styles.css
File metadata and controls
108 lines (92 loc) · 1.86 KB
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
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta&display=swap');
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
font-size: 12px;
}
a {
text-decoration: none;
}
h1{
margin: 0;
font-family: 'Staatliches', cursive;
}
h6 {
width: 22%;
margin: 0 auto;
font-family: 'Mukta', sans-serif;
font-size: .8rem;
color: #073b4c;
background-color: whitesmoke;
border-radius: 10px;
}
p {
margin: 10px 0;
font-family: 'Mukta', sans-serif;
color: #caffbf;
}
.container {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
background-color: #3a0ca3;
overflow: hidden;
}
.content {
text-align: center;
font-size: 2em;
color: rgba(255, 255, 255, .8);
}
.waves {
position: absolute;
width: 100%;
bottom: -135px;
height: 527px;
overflow: inherit;
}
.wave {
width: 2402px;
height: 427px;
position: absolute;
left: -180px;
bottom: -20px;
/* width: 100%; */
/* width: 200px; */
/* border-radius: 50%; */
/* background-color: rgba( 0, 0, 0, .4); */
background: url(./waves.png) center bottom no-repeat;
animation: 8s waves;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
}
.a {
background-position: 0 -854px;
}
.b {
background-position: 0 -427px;
animation-delay: .6s;
}
.c {
background-position: 0 0 ;
animation-delay: 1.2s;
}
@keyframes waves {
0% {
/* transform: translateX(0) translateY(0); */
transform: translate(0,0);
}
50% {
transform: translate(-80px, 30px);
}
100% {
transform: translate(160px, -60px);
}
}