Skip to content

Commit eca6b49

Browse files
Add spectrumwave animation by Mithlesh-95 (#2964)
* Create index.html * Create style.css * Create meta.json * Rename * Rename * Rename * Update index.html * Rename style.css to styles.css --------- Co-authored-by: Laureline Paris <32878345+LaurelineP@users.noreply.github.com>
1 parent 6f40421 commit eca6b49

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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>Pulsing Spectrum Waves</title>
7+
<link rel="stylesheet" href="styles.css" />
8+
</head>
9+
<body>
10+
<div class="wave-container">
11+
<div class="bar bar1"></div>
12+
<div class="bar bar2"></div>
13+
<div class="bar bar3"></div>
14+
<div class="bar bar4"></div>
15+
<div class="bar bar5"></div>
16+
<div class="bar bar6"></div>
17+
<div class="bar bar7"></div>
18+
</div>
19+
</body>
20+
</html>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"artName": "spectrumwave",
3+
"githubHandle": "Mithlesh-95"
4+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
body {
2+
background-color: #111;
3+
display: flex;
4+
justify-content: center;
5+
align-items: center;
6+
height: 100vh;
7+
}
8+
9+
.wave-container {
10+
display: flex;
11+
gap: 10px;
12+
}
13+
14+
.bar {
15+
width: 10px;
16+
height: 60px;
17+
background: linear-gradient(180deg, #ff5f6d, #ffc371);
18+
border-radius: 10px;
19+
animation: pulse 1.2s ease-in-out infinite;
20+
transform-origin: bottom;
21+
}
22+
23+
.bar1 { animation-delay: 0s; background: #ff5f6d; }
24+
.bar2 { animation-delay: 0.1s; background: #ffc371; }
25+
.bar3 { animation-delay: 0.2s; background: #47e4c2; }
26+
.bar4 { animation-delay: 0.3s; background: #7158e2; }
27+
.bar5 { animation-delay: 0.4s; background: #ff6b81; }
28+
.bar6 { animation-delay: 0.5s; background: #0be881; }
29+
.bar7 { animation-delay: 0.6s; background: #18dcff; }
30+
31+
@keyframes pulse {
32+
0%, 100% {
33+
transform: scaleY(1);
34+
}
35+
50% {
36+
transform: scaleY(2.2);
37+
}
38+
}

0 commit comments

Comments
 (0)