Spaces:
Running
Running
add magnifying hover animation for Shopping Bag icon - Follow Up Deployment
Browse files- index.html +13 -1
index.html
CHANGED
|
@@ -181,6 +181,18 @@
|
|
| 181 |
0%, 100% { transform: translateY(0) scale(1); }
|
| 182 |
50% { transform: translateY(-5px) scale(1.1); }
|
| 183 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
|
| 185 |
.vip-gradient-bg {
|
| 186 |
background: linear-gradient(to right, #1A1A1A, #2D1420, #1A1A1A);
|
|
@@ -324,7 +336,7 @@
|
|
| 324 |
<i class="fas fa-trophy text-niogold mr-2"></i>
|
| 325 |
<span class="mr-2 text-white" style="text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;">SC: 450</span>
|
| 326 |
<div class="h-5 w-px bg-gray-600 mx-2"></div>
|
| 327 |
-
<i class="fas fa-shopping-bag text-
|
| 328 |
</div>
|
| 329 |
|
| 330 |
<div class="ml-4 flex items-center">
|
|
|
|
| 181 |
0%, 100% { transform: translateY(0) scale(1); }
|
| 182 |
50% { transform: translateY(-5px) scale(1.1); }
|
| 183 |
}
|
| 184 |
+
|
| 185 |
+
@keyframes magnify {
|
| 186 |
+
0% { transform: scale(1); }
|
| 187 |
+
50% { transform: scale(1.2); }
|
| 188 |
+
100% { transform: scale(1); }
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
@keyframes pulseGlow {
|
| 192 |
+
0% { text-shadow: 0 0 5px rgba(212, 175, 55, 0.8); }
|
| 193 |
+
50% { text-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
|
| 194 |
+
100% { text-shadow: 0 0 5px rgba(212, 175, 55, 0.8); }
|
| 195 |
+
}
|
| 196 |
|
| 197 |
.vip-gradient-bg {
|
| 198 |
background: linear-gradient(to right, #1A1A1A, #2D1420, #1A1A1A);
|
|
|
|
| 336 |
<i class="fas fa-trophy text-niogold mr-2"></i>
|
| 337 |
<span class="mr-2 text-white" style="text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;">SC: 450</span>
|
| 338 |
<div class="h-5 w-px bg-gray-600 mx-2"></div>
|
| 339 |
+
<i class="fas fa-shopping-bag text-black glow-text animate-[pulseGlow_2s_ease-in-out_infinite] hover:animate-[magnify_0.5s_ease-in-out] cursor-pointer"></i>
|
| 340 |
</div>
|
| 341 |
|
| 342 |
<div class="ml-4 flex items-center">
|