Build a single showcase page displaying 10 different unique notification pop-up styles for a modern web application. Each pop-up should be visually distinct in layout, animation style, and position (e.g., top bar, bottom slide-up, floating card, corner toast, banner overlay, modal, etc.). Theme: Dark UI with neon orange and neon yellow accents on black backgrounds. Use modern, minimal, glassmorphism or neumorphism effects where appropriate. Design Requirements: Each pop-up contains a sample message, such as “New Offer Available! Claim Now” or “Breaking News: Double Rewards Weekend.” Include a call-to-action button (“View Offer” or “Learn More”). Maintain readability while emphasizing urgency and excitement. Use glowing neon orange/yellow accents, gradient borders, or animated highlights. Animation Requirements (Must Loop Continuously): Each style should use a different animation pattern, and all animations must loop infinitely rather than play only once. Example animation patterns: Slide down + glow pulse loop Slide up + bounce loop Fade in/out loop Scale up/down pulse loop Flip + shadow pulse loop Zoom in/out with neon glow loop Slide in/out horizontally loop Marquee scrolling text loop Floating hover loop Gradient color shift loop Use smooth easing for all animations (e.g., ease-in-out). Include animation timing examples such as 2.5s infinite alternate so it’s clear animations are persistent. Buttons should have hover effects that also loop continuously (e.g., glow pulsing). Showcase Layout: Arrange all 10 variations vertically on a single scrolling page. Each style clearly labeled “Style 1,” “Style 2,” etc. Consistent dark background so the neon effects pop. Ensure designs are responsive and mobile-friendly. - Initial Deployment
Browse files- README.md +6 -4
- index.html +560 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: live-notification-4
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Neon Notification Showcase</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
neonOrange: '#ff5e00',
|
| 15 |
+
neonYellow: '#ffd700',
|
| 16 |
+
darkBg: '#0a0a0a'
|
| 17 |
+
},
|
| 18 |
+
boxShadow: {
|
| 19 |
+
'neon-orange': '0 0 15px 0 rgba(255, 94, 0, 0.7)',
|
| 20 |
+
'neon-yellow': '0 0 15px 0 rgba(255, 215, 0, 0.7)',
|
| 21 |
+
'neon-glow': '0 0 15px 5px rgba(255, 94, 0, 0.5)',
|
| 22 |
+
'button-glow': '0 0 10px 3px rgba(255, 94, 0, 0.8)'
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
</script>
|
| 28 |
+
<style>
|
| 29 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 30 |
+
|
| 31 |
+
* {
|
| 32 |
+
margin: 0;
|
| 33 |
+
padding: 0;
|
| 34 |
+
box-sizing: border-box;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
body {
|
| 38 |
+
font-family: 'Inter', sans-serif;
|
| 39 |
+
background-color: #0a0a0a;
|
| 40 |
+
color: #f0f0f0;
|
| 41 |
+
min-height: 100vh;
|
| 42 |
+
padding: 2rem;
|
| 43 |
+
background-image:
|
| 44 |
+
radial-gradient(circle at 10% 20%, rgba(40, 40, 40, 0.1) 0%, transparent 20%),
|
| 45 |
+
radial-gradient(circle at 90% 80%, rgba(40, 40, 40, 0.1) 0%, transparent 20%);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.header {
|
| 49 |
+
text-align: center;
|
| 50 |
+
max-width: 800px;
|
| 51 |
+
margin: 0 auto 3rem;
|
| 52 |
+
padding: 2rem 0;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.header h1 {
|
| 56 |
+
font-size: 3rem;
|
| 57 |
+
font-weight: 700;
|
| 58 |
+
margin-bottom: 1rem;
|
| 59 |
+
background: linear-gradient(45deg, #ff5e00, #ffd700);
|
| 60 |
+
-webkit-background-clip: text;
|
| 61 |
+
background-clip: text;
|
| 62 |
+
color: transparent;
|
| 63 |
+
text-shadow: 0 0 15px rgba(255, 94, 0, 0.3);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.header p {
|
| 67 |
+
font-size: 1.1rem;
|
| 68 |
+
color: #aaa;
|
| 69 |
+
max-width: 600px;
|
| 70 |
+
margin: 0 auto;
|
| 71 |
+
line-height: 1.6;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.showcase-container {
|
| 75 |
+
max-width: 1200px;
|
| 76 |
+
margin: 0 auto;
|
| 77 |
+
display: flex;
|
| 78 |
+
flex-direction: column;
|
| 79 |
+
gap: 5rem;
|
| 80 |
+
padding-bottom: 4rem;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.notification-section {
|
| 84 |
+
background: rgba(15, 15, 15, 0.7);
|
| 85 |
+
border-radius: 20px;
|
| 86 |
+
padding: 2.5rem;
|
| 87 |
+
backdrop-filter: blur(10px);
|
| 88 |
+
border: 1px solid rgba(255, 255, 255, 0.05);
|
| 89 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.section-title {
|
| 93 |
+
font-size: 1.8rem;
|
| 94 |
+
margin-bottom: 2rem;
|
| 95 |
+
color: #ffd700;
|
| 96 |
+
text-align: center;
|
| 97 |
+
text-transform: uppercase;
|
| 98 |
+
letter-spacing: 2px;
|
| 99 |
+
font-weight: 600;
|
| 100 |
+
position: relative;
|
| 101 |
+
display: inline-block;
|
| 102 |
+
left: 50%;
|
| 103 |
+
transform: translateX(-50%);
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.section-title::after {
|
| 107 |
+
content: '';
|
| 108 |
+
position: absolute;
|
| 109 |
+
bottom: -10px;
|
| 110 |
+
left: 0;
|
| 111 |
+
width: 100%;
|
| 112 |
+
height: 3px;
|
| 113 |
+
background: linear-gradient(90deg, transparent, #ff5e00, #ffd700, #ff5e00, transparent);
|
| 114 |
+
border-radius: 3px;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.notification {
|
| 118 |
+
position: relative;
|
| 119 |
+
padding: 1.5rem;
|
| 120 |
+
border-radius: 12px;
|
| 121 |
+
background: rgba(20, 20, 20, 0.85);
|
| 122 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
| 123 |
+
max-width: 500px;
|
| 124 |
+
margin: 0 auto;
|
| 125 |
+
border: 1px solid rgba(255, 255, 255, 0.05);
|
| 126 |
+
overflow: hidden;
|
| 127 |
+
z-index: 10;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.notification::before {
|
| 131 |
+
content: '';
|
| 132 |
+
position: absolute;
|
| 133 |
+
top: 0;
|
| 134 |
+
left: 0;
|
| 135 |
+
width: 100%;
|
| 136 |
+
height: 100%;
|
| 137 |
+
background: linear-gradient(45deg, rgba(255, 94, 0, 0.1), rgba(255, 215, 0, 0.1));
|
| 138 |
+
z-index: -1;
|
| 139 |
+
pointer-events: none;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.notification-icon {
|
| 143 |
+
font-size: 1.8rem;
|
| 144 |
+
margin-right: 1rem;
|
| 145 |
+
background: linear-gradient(45deg, #ff5e00, #ffd700);
|
| 146 |
+
-webkit-background-clip: text;
|
| 147 |
+
background-clip: text;
|
| 148 |
+
color: transparent;
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
.notification-content {
|
| 152 |
+
display: flex;
|
| 153 |
+
align-items: center;
|
| 154 |
+
margin-bottom: 1.5rem;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
.notification h3 {
|
| 158 |
+
font-size: 1.3rem;
|
| 159 |
+
font-weight: 600;
|
| 160 |
+
margin-bottom: 0.3rem;
|
| 161 |
+
color: #fff;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.notification p {
|
| 165 |
+
color: #ccc;
|
| 166 |
+
font-size: 0.95rem;
|
| 167 |
+
line-height: 1.5;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
.notification-btn {
|
| 171 |
+
background: linear-gradient(45deg, #ff5e00, #ffd700);
|
| 172 |
+
color: #000;
|
| 173 |
+
border: none;
|
| 174 |
+
padding: 0.6rem 1.5rem;
|
| 175 |
+
border-radius: 30px;
|
| 176 |
+
font-weight: 600;
|
| 177 |
+
font-size: 0.9rem;
|
| 178 |
+
cursor: pointer;
|
| 179 |
+
transition: all 0.3s ease;
|
| 180 |
+
text-transform: uppercase;
|
| 181 |
+
letter-spacing: 0.5px;
|
| 182 |
+
position: relative;
|
| 183 |
+
overflow: hidden;
|
| 184 |
+
z-index: 1;
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
.notification-btn::before {
|
| 188 |
+
content: '';
|
| 189 |
+
position: absolute;
|
| 190 |
+
top: 0;
|
| 191 |
+
left: 0;
|
| 192 |
+
width: 100%;
|
| 193 |
+
height: 100%;
|
| 194 |
+
background: linear-gradient(45deg, #ffd700, #ff5e00);
|
| 195 |
+
opacity: 0;
|
| 196 |
+
transition: opacity 0.3s ease;
|
| 197 |
+
z-index: -1;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.notification-btn:hover::before {
|
| 201 |
+
opacity: 1;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
/* Animation Keyframes */
|
| 205 |
+
@keyframes slideDown {
|
| 206 |
+
0% { transform: translateY(-100px); opacity: 0; }
|
| 207 |
+
10%, 90% { transform: translateY(0); opacity: 1; }
|
| 208 |
+
100% { transform: translateY(-100px); opacity: 0; }
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
@keyframes slideUp {
|
| 212 |
+
0% { transform: translateY(100px); opacity: 0; }
|
| 213 |
+
10%, 90% { transform: translateY(0); opacity: 1; }
|
| 214 |
+
100% { transform: translateY(100px); opacity: 0; }
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
@keyframes fadeInOut {
|
| 218 |
+
0%, 100% { opacity: 0; transform: scale(0.95); }
|
| 219 |
+
50% { opacity: 1; transform: scale(1); }
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
@keyframes pulseGlow {
|
| 223 |
+
0%, 100% { box-shadow: 0 0 5px rgba(255, 94, 0, 0.3); }
|
| 224 |
+
50% { box-shadow: 0 0 20px rgba(255, 94, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.5); }
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
@keyframes bounce {
|
| 228 |
+
0%, 100% { transform: translateY(0); }
|
| 229 |
+
50% { transform: translateY(-15px); }
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
@keyframes flip {
|
| 233 |
+
0%, 100% { transform: perspective(800px) rotateY(0deg); }
|
| 234 |
+
50% { transform: perspective(800px) rotateY(180deg); }
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
@keyframes zoom {
|
| 238 |
+
0%, 100% { transform: scale(0.95); opacity: 0.7; }
|
| 239 |
+
50% { transform: scale(1); opacity: 1; }
|
| 240 |
+
}
|
| 241 |
+
|
| 242 |
+
@keyframes slideHorizontal {
|
| 243 |
+
0% { transform: translateX(-100%); opacity: 0; }
|
| 244 |
+
10%, 90% { transform: translateX(0); opacity: 1; }
|
| 245 |
+
100% { transform: translateX(100%); opacity: 0; }
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
@keyframes marquee {
|
| 249 |
+
0% { transform: translateX(100%); }
|
| 250 |
+
100% { transform: translateX(-100%); }
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
@keyframes float {
|
| 254 |
+
0%, 100% { transform: translateY(0); }
|
| 255 |
+
50% { transform: translateY(-10px); }
|
| 256 |
+
}
|
| 257 |
+
|
| 258 |
+
@keyframes gradientShift {
|
| 259 |
+
0% { background-position: 0% 50%; }
|
| 260 |
+
50% { background-position: 100% 50%; }
|
| 261 |
+
100% { background-position: 0% 50%; }
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
@keyframes buttonPulse {
|
| 265 |
+
0%, 100% { box-shadow: 0 0 5px #ff5e00; }
|
| 266 |
+
50% { box-shadow: 0 0 15px #ffd700, 0 0 20px rgba(255, 215, 0, 0.5); }
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
/* Style-specific animations */
|
| 270 |
+
.style-1 {
|
| 271 |
+
animation: slideDown 4s infinite ease-in-out, pulseGlow 2s infinite alternate;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.style-2 {
|
| 275 |
+
animation: slideUp 4s infinite ease-in-out, bounce 2s infinite alternate;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.style-3 {
|
| 279 |
+
animation: fadeInOut 3s infinite ease-in-out;
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
.style-4 {
|
| 283 |
+
animation: pulseGlow 2.5s infinite alternate, zoom 3s infinite ease-in-out;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
.style-5 {
|
| 287 |
+
animation: flip 5s infinite ease-in-out, pulseGlow 2s infinite alternate;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
.style-6 {
|
| 291 |
+
animation: zoom 4s infinite ease-in-out;
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
.style-7 {
|
| 295 |
+
animation: slideHorizontal 5s infinite ease-in-out;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
.style-8 .marquee-container {
|
| 299 |
+
overflow: hidden;
|
| 300 |
+
position: relative;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
.style-8 .marquee-content {
|
| 304 |
+
display: inline-block;
|
| 305 |
+
white-space: nowrap;
|
| 306 |
+
animation: marquee 8s linear infinite;
|
| 307 |
+
padding-left: 100%;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
.style-9 {
|
| 311 |
+
animation: float 3s infinite ease-in-out;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
.style-10 {
|
| 315 |
+
background: linear-gradient(45deg, #ff5e00, #ffd700, #ff5e00);
|
| 316 |
+
background-size: 200% 200%;
|
| 317 |
+
animation: gradientShift 4s infinite ease, pulseGlow 3s infinite alternate;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.notification-btn {
|
| 321 |
+
animation: buttonPulse 2s infinite alternate;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
/* Responsive design */
|
| 325 |
+
@media (max-width: 768px) {
|
| 326 |
+
.header h1 {
|
| 327 |
+
font-size: 2.2rem;
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.notification-section {
|
| 331 |
+
padding: 1.5rem;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
.section-title {
|
| 335 |
+
font-size: 1.5rem;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.showcase-container {
|
| 339 |
+
gap: 3.5rem;
|
| 340 |
+
}
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
@media (max-width: 480px) {
|
| 344 |
+
body {
|
| 345 |
+
padding: 1rem;
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
.header h1 {
|
| 349 |
+
font-size: 1.8rem;
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
.notification {
|
| 353 |
+
padding: 1rem;
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
.notification h3 {
|
| 357 |
+
font-size: 1.1rem;
|
| 358 |
+
}
|
| 359 |
+
|
| 360 |
+
.notification p {
|
| 361 |
+
font-size: 0.85rem;
|
| 362 |
+
}
|
| 363 |
+
}
|
| 364 |
+
</style>
|
| 365 |
+
</head>
|
| 366 |
+
<body>
|
| 367 |
+
<div class="header">
|
| 368 |
+
<h1>Neon Notification Showcase</h1>
|
| 369 |
+
<p>10 unique notification styles with glowing neon effects and continuous animations</p>
|
| 370 |
+
</div>
|
| 371 |
+
|
| 372 |
+
<div class="showcase-container">
|
| 373 |
+
<!-- Style 1: Top bar - slide down + glow pulse -->
|
| 374 |
+
<section class="notification-section">
|
| 375 |
+
<h2 class="section-title">Style 1: Slide Down Glow</h2>
|
| 376 |
+
<div class="notification style-1">
|
| 377 |
+
<div class="notification-content">
|
| 378 |
+
<div class="notification-icon">
|
| 379 |
+
<i class="fas fa-bolt"></i>
|
| 380 |
+
</div>
|
| 381 |
+
<div>
|
| 382 |
+
<h3>New Offer Available!</h3>
|
| 383 |
+
<p>Limited time special discount on premium features</p>
|
| 384 |
+
</div>
|
| 385 |
+
</div>
|
| 386 |
+
<button class="notification-btn">Claim Now</button>
|
| 387 |
+
</div>
|
| 388 |
+
</section>
|
| 389 |
+
|
| 390 |
+
<!-- Style 2: Bottom slide-up + bounce -->
|
| 391 |
+
<section class="notification-section">
|
| 392 |
+
<h2 class="section-title">Style 2: Slide Up Bounce</h2>
|
| 393 |
+
<div class="notification style-2">
|
| 394 |
+
<div class="notification-content">
|
| 395 |
+
<div class="notification-icon">
|
| 396 |
+
<i class="fas fa-gift"></i>
|
| 397 |
+
</div>
|
| 398 |
+
<div>
|
| 399 |
+
<h3>Double Rewards Weekend!</h3>
|
| 400 |
+
<p>Earn double points on all purchases this weekend</p>
|
| 401 |
+
</div>
|
| 402 |
+
</div>
|
| 403 |
+
<button class="notification-btn">Learn More</button>
|
| 404 |
+
</div>
|
| 405 |
+
</section>
|
| 406 |
+
|
| 407 |
+
<!-- Style 3: Floating card - fade in/out -->
|
| 408 |
+
<section class="notification-section">
|
| 409 |
+
<h2 class="section-title">Style 3: Fade Pulse</h2>
|
| 410 |
+
<div class="notification style-3">
|
| 411 |
+
<div class="notification-content">
|
| 412 |
+
<div class="notification-icon">
|
| 413 |
+
<i class="fas fa-star"></i>
|
| 414 |
+
</div>
|
| 415 |
+
<div>
|
| 416 |
+
<h3>You've Leveled Up!</h3>
|
| 417 |
+
<p>New achievements unlocked in your profile</p>
|
| 418 |
+
</div>
|
| 419 |
+
</div>
|
| 420 |
+
<button class="notification-btn">View Profile</button>
|
| 421 |
+
</div>
|
| 422 |
+
</section>
|
| 423 |
+
|
| 424 |
+
<!-- Style 4: Corner toast - scale pulse -->
|
| 425 |
+
<section class="notification-section">
|
| 426 |
+
<h2 class="section-title">Style 4: Scale Pulse</h2>
|
| 427 |
+
<div class="notification style-4">
|
| 428 |
+
<div class="notification-content">
|
| 429 |
+
<div class="notification-icon">
|
| 430 |
+
<i class="fas fa-bell"></i>
|
| 431 |
+
</div>
|
| 432 |
+
<div>
|
| 433 |
+
<h3>Meeting Reminder</h3>
|
| 434 |
+
<p>Team sync starts in 15 minutes</p>
|
| 435 |
+
</div>
|
| 436 |
+
</div>
|
| 437 |
+
<button class="notification-btn">Join Now</button>
|
| 438 |
+
</div>
|
| 439 |
+
</section>
|
| 440 |
+
|
| 441 |
+
<!-- Style 5: Modal center - flip animation -->
|
| 442 |
+
<section class="notification-section">
|
| 443 |
+
<h2 class="section-title">Style 5: Flip Effect</h2>
|
| 444 |
+
<div class="notification style-5">
|
| 445 |
+
<div class="notification-content">
|
| 446 |
+
<div class="notification-icon">
|
| 447 |
+
<i class="fas fa-exclamation-triangle"></i>
|
| 448 |
+
</div>
|
| 449 |
+
<div>
|
| 450 |
+
<h3>Security Alert</h3>
|
| 451 |
+
<p>Unusual activity detected on your account</p>
|
| 452 |
+
</div>
|
| 453 |
+
</div>
|
| 454 |
+
<button class="notification-btn">Secure Account</button>
|
| 455 |
+
</div>
|
| 456 |
+
</section>
|
| 457 |
+
|
| 458 |
+
<!-- Style 6: Banner overlay - zoom glow -->
|
| 459 |
+
<section class="notification-section">
|
| 460 |
+
<h2 class="section-title">Style 6: Zoom Glow</h2>
|
| 461 |
+
<div class="notification style-6">
|
| 462 |
+
<div class="notification-content">
|
| 463 |
+
<div class="notification-icon">
|
| 464 |
+
<i class="fas fa-rocket"></i>
|
| 465 |
+
</div>
|
| 466 |
+
<div>
|
| 467 |
+
<h3>New Feature Launch!</h3>
|
| 468 |
+
<p>Dark mode v2.0 now available with custom themes</p>
|
| 469 |
+
</div>
|
| 470 |
+
</div>
|
| 471 |
+
<button class="notification-btn">Try Now</button>
|
| 472 |
+
</div>
|
| 473 |
+
</section>
|
| 474 |
+
|
| 475 |
+
<!-- Style 7: Left slide-in - horizontal slide -->
|
| 476 |
+
<section class="notification-section">
|
| 477 |
+
<h2 class="section-title">Style 7: Slide Horizontal</h2>
|
| 478 |
+
<div class="notification style-7">
|
| 479 |
+
<div class="notification-content">
|
| 480 |
+
<div class="notification-icon">
|
| 481 |
+
<i class="fas fa-shopping-cart"></i>
|
| 482 |
+
</div>
|
| 483 |
+
<div>
|
| 484 |
+
<h3>Order Confirmed!</h3>
|
| 485 |
+
<p>Your purchase will arrive by tomorrow</p>
|
| 486 |
+
</div>
|
| 487 |
+
</div>
|
| 488 |
+
<button class="notification-btn">Track Order</button>
|
| 489 |
+
</div>
|
| 490 |
+
</section>
|
| 491 |
+
|
| 492 |
+
<!-- Style 8: Marquee scrolling -->
|
| 493 |
+
<section class="notification-section">
|
| 494 |
+
<h2 class="section-title">Style 8: Marquee Scroll</h2>
|
| 495 |
+
<div class="notification">
|
| 496 |
+
<div class="marquee-container">
|
| 497 |
+
<div class="marquee-content style-8">
|
| 498 |
+
<div class="notification-content" style="display: inline-flex; margin-right: 3rem;">
|
| 499 |
+
<div class="notification-icon">
|
| 500 |
+
<i class="fas fa-fire"></i>
|
| 501 |
+
</div>
|
| 502 |
+
<div>
|
| 503 |
+
<h3>Flash Sale Live! 🔥 24-hour deals ending soon - Up to 70% off premium plans</h3>
|
| 504 |
+
</div>
|
| 505 |
+
</div>
|
| 506 |
+
</div>
|
| 507 |
+
</div>
|
| 508 |
+
<button class="notification-btn" style="margin-top: 1.5rem;">Shop Deals</button>
|
| 509 |
+
</div>
|
| 510 |
+
</section>
|
| 511 |
+
|
| 512 |
+
<!-- Style 9: Floating hover -->
|
| 513 |
+
<section class="notification-section">
|
| 514 |
+
<h2 class="section-title">Style 9: Floating Hover</h2>
|
| 515 |
+
<div class="notification style-9">
|
| 516 |
+
<div class="notification-content">
|
| 517 |
+
<div class="notification-icon">
|
| 518 |
+
<i class="fas fa-user-plus"></i>
|
| 519 |
+
</div>
|
| 520 |
+
<div>
|
| 521 |
+
<h3>New Connection</h3>
|
| 522 |
+
<p>Alex Morgan wants to connect with you</p>
|
| 523 |
+
</div>
|
| 524 |
+
</div>
|
| 525 |
+
<button class="notification-btn">Accept</button>
|
| 526 |
+
</div>
|
| 527 |
+
</section>
|
| 528 |
+
|
| 529 |
+
<!-- Style 10: Gradient shift -->
|
| 530 |
+
<section class="notification-section">
|
| 531 |
+
<h2 class="section-title">Style 10: Gradient Shift</h2>
|
| 532 |
+
<div class="notification style-10">
|
| 533 |
+
<div class="notification-content">
|
| 534 |
+
<div class="notification-icon">
|
| 535 |
+
<i class="fas fa-trophy"></i>
|
| 536 |
+
</div>
|
| 537 |
+
<div>
|
| 538 |
+
<h3>Congratulations!</h3>
|
| 539 |
+
<p>You've earned the Elite Member badge</p>
|
| 540 |
+
</div>
|
| 541 |
+
</div>
|
| 542 |
+
<button class="notification-btn">View Badge</button>
|
| 543 |
+
</div>
|
| 544 |
+
</section>
|
| 545 |
+
</div>
|
| 546 |
+
|
| 547 |
+
<script>
|
| 548 |
+
// Add hover effects to buttons
|
| 549 |
+
document.querySelectorAll('.notification-btn').forEach(button => {
|
| 550 |
+
button.addEventListener('mouseenter', () => {
|
| 551 |
+
button.style.animation = 'buttonPulse 0.8s infinite alternate';
|
| 552 |
+
});
|
| 553 |
+
|
| 554 |
+
button.addEventListener('mouseleave', () => {
|
| 555 |
+
button.style.animation = 'buttonPulse 2s infinite alternate';
|
| 556 |
+
});
|
| 557 |
+
});
|
| 558 |
+
</script>
|
| 559 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ProjectGenesis/live-notification-4" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 560 |
+
</html>
|