Change game thumbnail hover animation
Browse files
style.css
CHANGED
|
@@ -144,26 +144,44 @@ h1, h2, h3, .countdown-timer {
|
|
| 144 |
}
|
| 145 |
/* Hover Effects */
|
| 146 |
.game-thumbnail:hover {
|
| 147 |
-
transform: translateY(-
|
| 148 |
border-color: rgba(15, 240, 252, 0.8);
|
| 149 |
-
box-shadow:
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
}
|
| 154 |
|
| 155 |
.game-thumbnail:hover::after {
|
| 156 |
-
background: radial-gradient(circle at center, transparent
|
|
|
|
| 157 |
}
|
| 158 |
|
| 159 |
-
@keyframes
|
| 160 |
-
0%
|
| 161 |
-
transform:
|
| 162 |
-
|
| 163 |
}
|
| 164 |
-
|
| 165 |
-
transform:
|
| 166 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
}
|
| 168 |
}
|
| 169 |
/* Carousel Animation */
|
|
|
|
| 144 |
}
|
| 145 |
/* Hover Effects */
|
| 146 |
.game-thumbnail:hover {
|
| 147 |
+
transform: perspective(500px) translateY(-10px) rotateX(10deg) scale(1.1);
|
| 148 |
border-color: rgba(15, 240, 252, 0.8);
|
| 149 |
+
box-shadow:
|
| 150 |
+
0 15px 40px rgba(15, 240, 252, 0.4),
|
| 151 |
+
0 0 0 2px rgba(255, 0, 255, 0.5);
|
| 152 |
+
background: rgba(30, 30, 30, 0.9);
|
| 153 |
+
animation: hologramGlow 2s infinite alternate;
|
| 154 |
+
filter: brightness(1.2);
|
| 155 |
+
z-index: 10;
|
| 156 |
+
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
| 157 |
}
|
| 158 |
|
| 159 |
.game-thumbnail:hover::after {
|
| 160 |
+
background: radial-gradient(circle at center, transparent 20%, rgba(15, 240, 252, 0.4) 100%);
|
| 161 |
+
animation: ripple 1.5s infinite ease-out;
|
| 162 |
}
|
| 163 |
|
| 164 |
+
@keyframes ripple {
|
| 165 |
+
0% {
|
| 166 |
+
transform: scale(0.8);
|
| 167 |
+
opacity: 0.7;
|
| 168 |
}
|
| 169 |
+
100% {
|
| 170 |
+
transform: scale(1.5);
|
| 171 |
+
opacity: 0;
|
| 172 |
+
}
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
@keyframes hologramGlow {
|
| 176 |
+
0% {
|
| 177 |
+
box-shadow:
|
| 178 |
+
0 15px 40px rgba(15, 240, 252, 0.4),
|
| 179 |
+
0 0 0 2px rgba(255, 0, 255, 0.5);
|
| 180 |
+
}
|
| 181 |
+
100% {
|
| 182 |
+
box-shadow:
|
| 183 |
+
0 20px 50px rgba(15, 240, 252, 0.6),
|
| 184 |
+
0 0 0 3px rgba(255, 0, 255, 0.7);
|
| 185 |
}
|
| 186 |
}
|
| 187 |
/* Carousel Animation */
|