Spaces:
Running
Running
add glass card animation for the header banner - Follow Up Deployment
Browse files- index.html +29 -1
index.html
CHANGED
|
@@ -50,6 +50,33 @@
|
|
| 50 |
border-radius: 16px;
|
| 51 |
overflow: hidden;
|
| 52 |
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
}
|
| 54 |
|
| 55 |
.glow-border {
|
|
@@ -66,11 +93,12 @@
|
|
| 66 |
border-radius: inherit;
|
| 67 |
box-shadow: 0 0 12px 2px rgba(255, 215, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.1);
|
| 68 |
opacity: 0;
|
| 69 |
-
transition: opacity 0.3s ease;
|
| 70 |
}
|
| 71 |
|
| 72 |
.glow-border:hover::before {
|
| 73 |
opacity: 1;
|
|
|
|
| 74 |
}
|
| 75 |
|
| 76 |
.pulse {
|
|
|
|
| 50 |
border-radius: 16px;
|
| 51 |
overflow: hidden;
|
| 52 |
position: relative;
|
| 53 |
+
transition: all 0.3s ease;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.glass-card:hover {
|
| 57 |
+
border-color: rgba(255, 215, 0, 0.3);
|
| 58 |
+
box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.glass-card::after {
|
| 62 |
+
content: '';
|
| 63 |
+
position: absolute;
|
| 64 |
+
top: 0;
|
| 65 |
+
left: -100%;
|
| 66 |
+
width: 100%;
|
| 67 |
+
height: 100%;
|
| 68 |
+
background: linear-gradient(
|
| 69 |
+
90deg,
|
| 70 |
+
transparent,
|
| 71 |
+
rgba(255, 215, 0, 0.1),
|
| 72 |
+
transparent
|
| 73 |
+
);
|
| 74 |
+
transition: none;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.glass-card:hover::after {
|
| 78 |
+
left: 100%;
|
| 79 |
+
transition: left 0.7s ease-in-out;
|
| 80 |
}
|
| 81 |
|
| 82 |
.glow-border {
|
|
|
|
| 93 |
border-radius: inherit;
|
| 94 |
box-shadow: 0 0 12px 2px rgba(255, 215, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.1);
|
| 95 |
opacity: 0;
|
| 96 |
+
transition: opacity 0.3s ease, box-shadow 0.3s ease;
|
| 97 |
}
|
| 98 |
|
| 99 |
.glow-border:hover::before {
|
| 100 |
opacity: 1;
|
| 101 |
+
box-shadow: 0 0 20px 4px rgba(255, 215, 0, 0.6), inset 0 0 15px rgba(255, 215, 0, 0.2);
|
| 102 |
}
|
| 103 |
|
| 104 |
.pulse {
|