Edit the page so the Facebook promotional pop-up becomes a sticky, fixed-position element that stays visible while scrolling.
Browse files- index.html +2 -3
- style.css +5 -2
index.html
CHANGED
|
@@ -151,10 +151,9 @@
|
|
| 151 |
</div>
|
| 152 |
</div>
|
| 153 |
</main>
|
| 154 |
-
|
| 155 |
<!-- Facebook Promo Popup -->
|
| 156 |
-
<div class="facebook-popup
|
| 157 |
-
|
| 158 |
<div class="flex items-center mb-2">
|
| 159 |
<i data-feather="facebook" class="w-5 h-5 mr-2 text-neonblue"></i>
|
| 160 |
<span class="font-bold text-white">Follow FIVExBET for Freespins</span>
|
|
|
|
| 151 |
</div>
|
| 152 |
</div>
|
| 153 |
</main>
|
|
|
|
| 154 |
<!-- Facebook Promo Popup -->
|
| 155 |
+
<div class="facebook-popup hidden md:block">
|
| 156 |
+
<div class="holographic-panel bg-black/50 backdrop-blur-sm border-l-4 border-neonmagenta p-4 rounded-lg w-64">
|
| 157 |
<div class="flex items-center mb-2">
|
| 158 |
<i data-feather="facebook" class="w-5 h-5 mr-2 text-neonblue"></i>
|
| 159 |
<span class="font-bold text-white">Follow FIVExBET for Freespins</span>
|
style.css
CHANGED
|
@@ -256,8 +256,11 @@ footer i {
|
|
| 256 |
animation: floatIn 1s ease-out forwards, pulse 2s infinite ease-in-out;
|
| 257 |
opacity: 0;
|
| 258 |
transform: translateX(20px);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
}
|
| 260 |
-
|
| 261 |
@keyframes floatIn {
|
| 262 |
to {
|
| 263 |
opacity: 1;
|
|
@@ -279,8 +282,8 @@ footer i {
|
|
| 279 |
box-shadow: 0 0 20px rgba(15, 240, 252, 0.3),
|
| 280 |
0 0 40px rgba(255, 0, 255, 0.3);
|
| 281 |
transition: all 0.3s ease;
|
|
|
|
| 282 |
}
|
| 283 |
-
|
| 284 |
.holographic-panel:hover {
|
| 285 |
transform: scale(1.05);
|
| 286 |
box-shadow: 0 0 30px rgba(15, 240, 252, 0.5),
|
|
|
|
| 256 |
animation: floatIn 1s ease-out forwards, pulse 2s infinite ease-in-out;
|
| 257 |
opacity: 0;
|
| 258 |
transform: translateX(20px);
|
| 259 |
+
position: fixed;
|
| 260 |
+
right: 20px;
|
| 261 |
+
bottom: 20px;
|
| 262 |
+
z-index: 1000;
|
| 263 |
}
|
|
|
|
| 264 |
@keyframes floatIn {
|
| 265 |
to {
|
| 266 |
opacity: 1;
|
|
|
|
| 282 |
box-shadow: 0 0 20px rgba(15, 240, 252, 0.3),
|
| 283 |
0 0 40px rgba(255, 0, 255, 0.3);
|
| 284 |
transition: all 0.3s ease;
|
| 285 |
+
cursor: pointer;
|
| 286 |
}
|
|
|
|
| 287 |
.holographic-panel:hover {
|
| 288 |
transform: scale(1.05);
|
| 289 |
box-shadow: 0 0 30px rgba(15, 240, 252, 0.5),
|