Skip to content

Commit bba2854

Browse files
authored
Nst krishna wave animation (#3279)
* add movie icon * add waves * Delete Art/NSTKrishna-Animated-Movie-Icons/index.html * Delete Art/NSTKrishna-Animated-Movie-Icons/meta.json * Delete Art/NSTKrishna-Animated-Movie-Icons/styles.css
1 parent 6dec463 commit bba2854

3 files changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Wave Animation</title>
7+
<link rel="stylesheet" href="styles.css">
8+
</head>
9+
<body>
10+
<div class="ocean">
11+
<div class="wave wave1"></div>
12+
<div class="wave wave2"></div>
13+
<div class="wave wave3"></div>
14+
</div>
15+
</body>
16+
</html>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"artName": "waves",
3+
"githubHandle": "NSTKrishna"
4+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
body {
2+
margin: 0;
3+
background: linear-gradient(to top, #001, #004);
4+
overflow: hidden;
5+
height: 100vh;
6+
}
7+
8+
.ocean {
9+
position: absolute;
10+
bottom: 0;
11+
width: 100%;
12+
height: 200px;
13+
overflow: hidden;
14+
}
15+
16+
.wave {
17+
position: absolute;
18+
bottom: 0;
19+
width: 200%;
20+
height: 100px;
21+
border-radius: 50%;
22+
background: rgba(0, 150, 255, 0.6);
23+
animation: move 6s linear infinite;
24+
}
25+
26+
.wave2 {
27+
background: rgba(0, 100, 255, 0.4);
28+
animation-duration: 9s;
29+
bottom: 20px;
30+
}
31+
32+
.wave3 {
33+
background: rgba(0, 80, 255, 0.3);
34+
animation-duration: 12s;
35+
bottom: 40px;
36+
}
37+
38+
@keyframes move {
39+
from { transform: translateX(0); }
40+
to { transform: translateX(-50%); }
41+
}

0 commit comments

Comments
 (0)