File size: 20,570 Bytes
e0e51eb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neon Notification Showcase</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
neonOrange: '#ff5e00',
neonYellow: '#ffdd00',
darkBg: '#0a0a0a',
},
boxShadow: {
'neon-orange': '0 0 10px #ff5e00, 0 0 20px #ff5e00, 0 0 30px #ff5e00',
'neon-yellow': '0 0 10px #ffdd00, 0 0 20px #ffdd00, 0 0 30px #ffdd00',
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
font-family: 'Inter', sans-serif;
}
body {
background-color: #0a0a0a;
color: #e5e5e5;
min-height: 100vh;
overflow-x: hidden;
}
.notification-container {
background: rgba(20, 20, 20, 0.7);
backdrop-filter: blur(12px);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.neon-orange {
border: 1px solid rgba(255, 94, 0, 0.3);
box-shadow: 0 0 15px rgba(255, 94, 0, 0.4);
}
.neon-yellow {
border: 1px solid rgba(255, 221, 0, 0.3);
box-shadow: 0 0 15px rgba(255, 221, 0, 0.4);
}
.btn-neon {
transition: all 0.3s ease;
font-weight: 600;
letter-spacing: 0.5px;
}
.btn-neon-orange {
background: linear-gradient(45deg, #ff5e00, #ff8c00);
box-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}
.btn-neon-yellow {
background: linear-gradient(45deg, #ffdd00, #ffaa00);
box-shadow: 0 0 10px rgba(255, 221, 0, 0.5);
color: #222;
}
/* Animations */
@keyframes slideDownGlow {
0% { transform: translateY(-100%); opacity: 0; }
10% { transform: translateY(0); opacity: 1; box-shadow: 0 0 15px rgba(255, 94, 0, 0.4); }
90% { box-shadow: 0 0 30px rgba(255, 94, 0, 0.8); }
100% { transform: translateY(0); opacity: 1; }
}
@keyframes slideUpBounce {
0%, 100% { transform: translateY(100%); opacity: 0; }
30%, 70% { transform: translateY(0); opacity: 1; }
50% { transform: translateY(-20px); }
}
@keyframes fadePulse {
0%, 100% { opacity: 0.8; transform: scale(0.98); }
50% { opacity: 1; transform: scale(1); box-shadow: 0 0 20px rgba(255, 94, 0, 0.6); }
}
@keyframes scalePulse {
0%, 100% { transform: scale(0.95); opacity: 0.9; }
50% { transform: scale(1); opacity: 1; box-shadow: 0 0 25px rgba(255, 221, 0, 0.7); }
}
@keyframes flipShadow {
0% { transform: perspective(500px) rotateY(0deg); }
50% { transform: perspective(500px) rotateY(180deg); box-shadow: 0 0 25px rgba(255, 221, 0, 0.7); }
100% { transform: perspective(500px) rotateY(360deg); }
}
@keyframes zoomGlow {
0%, 100% { transform: scale(0.9); opacity: 0.8; }
50% { transform: scale(1); opacity: 1; box-shadow: 0 0 30px rgba(255, 94, 0, 0.8); }
}
@keyframes slideHorizontal {
0% { transform: translateX(100%); opacity: 0; }
20%, 80% { transform: translateX(0); opacity: 1; }
100% { transform: translateX(-100%); opacity: 0; }
}
@keyframes marqueeScroll {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
@keyframes floatingHover {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-15px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); }
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes buttonPulse {
0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 94, 0, 0.5); }
50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 94, 0, 0.8); }
}
.animate-slide-down-glow {
animation: slideDownGlow 2.5s infinite alternate ease-in-out;
}
.animate-slide-up-bounce {
animation: slideUpBounce 3s infinite ease-in-out;
}
.animate-fade-pulse {
animation: fadePulse 2.8s infinite ease-in-out;
}
.animate-scale-pulse {
animation: scalePulse 2.2s infinite alternate ease-in-out;
}
.animate-flip-shadow {
animation: flipShadow 3.5s infinite linear;
}
.animate-zoom-glow {
animation: zoomGlow 2.7s infinite alternate ease-in-out;
}
.animate-slide-horizontal {
animation: slideHorizontal 4s infinite ease-in-out;
}
.animate-marquee-scroll {
animation: marqueeScroll 8s infinite linear;
white-space: nowrap;
}
.animate-floating-hover {
animation: floatingHover 3s infinite ease-in-out;
}
.animate-gradient-shift {
animation: gradientShift 4s infinite ease;
background: linear-gradient(270deg, #ff5e00, #ff8c00, #ffdd00, #ffaa00);
background-size: 400% 400%;
}
.btn-pulse {
animation: buttonPulse 1.5s infinite ease-in-out;
}
.btn-hover-pulse:hover {
animation: buttonPulse 1s infinite ease-in-out;
}
.glass-effect {
background: rgba(30, 30, 30, 0.6);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
.notification-container {
width: 90%;
margin: 20px auto;
}
.marquee-container {
width: 100%;
}
}
</style>
</head>
<body class="min-h-screen py-12 bg-darkBg">
<div class="container mx-auto px-4">
<header class="text-center mb-16">
<h1 class="text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-neonOrange to-neonYellow bg-clip-text text-transparent">Notification Showcase</h1>
<p class="text-gray-400 max-w-2xl mx-auto">10 unique notification styles with neon effects, glassmorphism, and continuous animations</p>
</header>
<!-- Style 1: Top Bar Slide Down + Glow Pulse -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonOrange flex items-center">
<span class="w-8 h-8 rounded-full bg-neonOrange flex items-center justify-center text-darkBg font-bold mr-3">1</span>
Top Bar Slide Down + Glow Pulse
</h2>
<div class="relative h-40 flex items-center justify-center overflow-hidden">
<div class="animate-slide-down-glow notification-container glass-effect neon-orange w-full max-w-3xl py-4 px-6 flex items-center justify-between">
<div class="flex items-center">
<div class="mr-4 text-2xl text-neonYellow">
<i class="fas fa-gift"></i>
</div>
<div>
<p class="font-medium">New Offer Available! Claim Now</p>
<p class="text-sm text-gray-400 mt-1">Limited time offer - 50% off all premium plans</p>
</div>
</div>
<button class="btn-neon btn-neon-orange px-5 py-2 rounded-full btn-pulse">View Offer</button>
</div>
</div>
</section>
<!-- Style 2: Bottom Slide Up + Bounce -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonYellow flex items-center">
<span class="w-8 h-8 rounded-full bg-neonYellow flex items-center justify-center text-darkBg font-bold mr-3">2</span>
Bottom Slide Up + Bounce
</h2>
<div class="relative h-40 flex items-center justify-center overflow-hidden">
<div class="animate-slide-up-bounce notification-container glass-effect neon-yellow w-full max-w-2xl py-4 px-6 flex items-center justify-between">
<div class="flex items-center">
<div class="mr-4 text-2xl text-neonOrange">
<i class="fas fa-bolt"></i>
</div>
<div>
<p class="font-medium">Breaking News: Double Rewards Weekend</p>
<p class="text-sm text-gray-300 mt-1">Earn 2x points on all activities</p>
</div>
</div>
<button class="btn-neon btn-neon-yellow px-5 py-2 rounded-full btn-pulse">Learn More</button>
</div>
</div>
</section>
<!-- Style 3: Floating Card Fade Pulse -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonOrange flex items-center">
<span class="w-8 h-8 rounded-full bg-neonOrange flex items-center justify-center text-darkBg font-bold mr-3">3</span>
Floating Card Fade Pulse
</h2>
<div class="relative h-40 flex items-center justify-center">
<div class="animate-fade-pulse notification-container glass-effect neon-orange w-80 py-5 px-6 text-center">
<div class="text-3xl mb-3 text-neonYellow">
<i class="fas fa-star"></i>
</div>
<p class="font-medium mb-3">Special Event Starting Soon!</p>
<p class="text-sm text-gray-400 mb-4">Join our exclusive community event</p>
<button class="btn-neon btn-neon-orange px-4 py-2 rounded-full btn-pulse mx-auto">Join Now</button>
</div>
</div>
</section>
<!-- Style 4: Corner Toast Scale Pulse -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonYellow flex items-center">
<span class="w-8 h-8 rounded-full bg-neonYellow flex items-center justify-center text-darkBg font-bold mr-3">4</span>
Corner Toast Scale Pulse
</h2>
<div class="relative h-40 flex items-center justify-center">
<div class="animate-scale-pulse notification-container glass-effect neon-yellow w-72 py-4 px-5 rounded-xl absolute top-0 right-0">
<div class="flex items-start">
<div class="mr-3 text-xl text-neonOrange">
<i class="fas fa-bell"></i>
</div>
<div>
<p class="font-medium">New Message Received</p>
<p class="text-sm text-gray-300 mt-1">You have 3 unread messages</p>
</div>
</div>
</div>
</div>
</section>
<!-- Style 5: Banner Flip + Shadow Pulse -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonOrange flex items-center">
<span class="w-8 h-8 rounded-full bg-neonOrange flex items-center justify-center text-darkBg font-bold mr-3">5</span>
Banner Flip + Shadow Pulse
</h2>
<div class="relative h-40 flex items-center justify-center">
<div class="animate-flip-shadow notification-container glass-effect w-full max-w-2xl py-4 px-6">
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="mr-4 text-2xl text-neonYellow">
<i class="fas fa-exclamation-triangle"></i>
</div>
<div>
<p class="font-medium">System Maintenance Alert</p>
<p class="text-sm text-gray-400 mt-1">Services will be unavailable from 2-4 AM</p>
</div>
</div>
<button class="btn-neon btn-neon-orange px-4 py-2 rounded-full btn-pulse">View Details</button>
</div>
</div>
</div>
</section>
<!-- Style 6: Modal Zoom + Neon Glow -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonYellow flex items-center">
<span class="w-8 h-8 rounded-full bg-neonYellow flex items-center justify-center text-darkBg font-bold mr-3">6</span>
Modal Zoom + Neon Glow
</h2>
<div class="relative h-64 flex items-center justify-center">
<div class="animate-zoom-glow notification-container glass-effect neon-orange w-full max-w-md py-6 px-7 rounded-xl">
<div class="text-center mb-5">
<div class="text-4xl text-neonYellow mb-3">
<i class="fas fa-trophy"></i>
</div>
<h3 class="text-xl font-bold mb-2">Achievement Unlocked!</h3>
<p class="text-gray-400">You've reached Gold status</p>
</div>
<div class="flex justify-center gap-4">
<button class="btn-neon btn-neon-yellow px-5 py-2 rounded-full btn-pulse">Claim Reward</button>
<button class="btn-neon glass-effect border border-gray-700 px-5 py-2 rounded-full">Later</button>
</div>
</div>
</div>
</section>
<!-- Style 7: Slide In/Out Horizontal -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonOrange flex items-center">
<span class="w-8 h-8 rounded-full bg-neonOrange flex items-center justify-center text-darkBg font-bold mr-3">7</span>
Slide In/Out Horizontal
</h2>
<div class="relative h-24 flex items-center justify-center overflow-hidden">
<div class="animate-slide-horizontal notification-container glass-effect neon-yellow w-full max-w-xl py-4 px-6">
<div class="flex items-center">
<div class="mr-4 text-2xl text-neonOrange">
<i class="fas fa-fire"></i>
</div>
<div>
<p class="font-medium">Flash Sale Active! 24 Hours Only</p>
<p class="text-sm text-gray-300">Up to 70% off selected items</p>
</div>
</div>
</div>
</div>
</section>
<!-- Style 8: Marquee Scrolling Text -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonYellow flex items-center">
<span class="w-8 h-8 rounded-full bg-neonYellow flex items-center justify-center text-darkBg font-bold mr-3">8</span>
Marquee Scrolling Text
</h2>
<div class="relative h-16 flex items-center overflow-hidden">
<div class="animate-marquee-scroll w-full">
<div class="notification-container glass-effect neon-orange inline-block py-3 px-8 mx-4">
<span class="font-medium text-neonYellow mr-3"><i class="fas fa-bullhorn"></i></span>
<span>New feature released: Dark mode now available for all users!</span>
</div>
<div class="notification-container glass-effect neon-yellow inline-block py-3 px-8 mx-4">
<span class="font-medium text-neonOrange mr-3"><i class="fas fa-users"></i></span>
<span>Join our community event this Saturday - exclusive rewards!</span>
</div>
</div>
</div>
</section>
<!-- Style 9: Floating Hover Loop -->
<section class="mb-24">
<h2 class="text-2xl font-semibold mb-6 text-neonOrange flex items-center">
<span class="w-8 h-8 rounded-full bg-neonOrange flex items-center justify-center text-darkBg font-bold mr-3">9</span>
Floating Hover Loop
</h2>
<div class="relative h-48 flex items-center justify-center">
<div class="animate-floating-hover notification-container glass-effect neon-yellow w-72 py-5 px-6 text-center rounded-2xl">
<div class="text-3xl mb-3 text-neonOrange">
<i class="fas fa-rocket"></i>
</div>
<p class="font-medium mb-2">Profile Update Available</p>
<p class="text-sm text-gray-400 mb-4">Add new features to your profile</p>
<button class="btn-neon btn-neon-orange px-4 py-2 rounded-full btn-pulse">Update Now</button>
</div>
</div>
</section>
<!-- Style 10: Gradient Color Shift -->
<section class="mb-16">
<h2 class="text-2xl font-semibold mb-6 text-neonYellow flex items-center">
<span class="w-8 h-8 rounded-full bg-neonYellow flex items-center justify-center text-darkBg font-bold mr-3">10</span>
Gradient Color Shift
</h2>
<div class="relative h-40 flex items-center justify-center">
<div class="animate-gradient-shift notification-container glass-effect w-full max-w-xl py-5 px-6 rounded-xl border-0">
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="mr-4 text-2xl text-white">
<i class="fas fa-calendar-star"></i>
</div>
<div>
<p class="font-medium text-white">Anniversary Special!</p>
<p class="text-sm text-gray-200 mt-1">Celebrate 5 years with exclusive benefits</p>
</div>
</div>
<button class="btn-neon bg-white text-darkBg font-bold px-5 py-2 rounded-full btn-pulse">Explore</button>
</div>
</div>
</div>
</section>
</div>
<footer class="text-center py-8 text-gray-500 text-sm">
<p>Modern Notification Styles Showcase • Created with TailwindCSS</p>
</footer>
<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-3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |