Skip to content

Commit 07b9e3a

Browse files
authored
Merge pull request #987 from Vanshika231/add-Vanshika231-change
Add Vanshika231 change for Hacktoberfest 2025
2 parents 161dbf1 + bc1e2ac commit 07b9e3a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Analog-clock/style.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
border: 3px solid var(--border-color);
7676
z-index: 10;
7777
border-radius: 50%;
78+
animation: pulse 2s ease-in-out infinite;
79+
7880
}
7981

8082
.black-clock .hand {
@@ -160,6 +162,8 @@
160162
border-radius: 50%;
161163
transform: translate(-50%, -50%);
162164
z-index: 10;
165+
animation: pulse 2s ease-in-out infinite;
166+
163167
}
164168

165169
.white-clock .hand {
@@ -225,3 +229,22 @@
225229
.black-clock .minute { height: calc(300px * 0.35); }
226230
.black-clock .second { height: calc(300px * 0.4); }
227231
}
232+
@keyframes pulse {
233+
0%, 100% {
234+
transform: translate(-50%, -50%) scale(1);
235+
}
236+
50% {
237+
transform: translate(-50%, -50%) scale(1.2);
238+
}
239+
}
240+
.black-clock:hover,
241+
.white-clock:hover {
242+
box-shadow:
243+
0 0 20px rgba(255, 255, 255, 0.3),
244+
0 0 40px rgba(231, 76, 60, 0.5),
245+
0 0 60px rgba(231, 76, 60, 0.3);
246+
transform: scale(1.03);
247+
transition: all 0.5s ease;
248+
}
249+
250+

0 commit comments

Comments
 (0)