live-notification-2 / index.html
ProjectGenesis's picture
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
f7e44a5 verified
<!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>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
neonOrange: '#ff5e00',
neonYellow: '#ffdd00',
darkBg: '#0a0a0a',
},
animation: {
'glow-pulse': 'glowPulse 2.5s infinite alternate',
'bounce': 'bounce 2.5s infinite alternate',
'fade': 'fade 3s infinite alternate',
'scale-pulse': 'scalePulse 2.5s infinite alternate',
'flip': 'flip 3s infinite alternate',
'zoom-glow': 'zoomGlow 3s infinite alternate',
'slide-horizontal': 'slideHorizontal 4s infinite alternate',
'marquee': 'marquee 15s linear infinite',
'float': 'float 3s ease-in-out infinite',
'gradient-shift': 'gradientShift 4s linear infinite',
},
keyframes: {
glowPulse: {
'0%, 100%': { 'box-shadow': '0 0 5px rgba(255, 94, 0, 0.5)' },
'50%': { 'box-shadow': '0 0 20px rgba(255, 94, 0, 0.9), 0 0 30px rgba(255, 221, 0, 0.7)' },
},
bounce: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
fade: {
'0%, 100%': { opacity: 0.7 },
'50%': { opacity: 1 },
},
scalePulse: {
'0%, 100%': { transform: 'scale(0.95)' },
'50%': { transform: 'scale(1.05)' },
},
flip: {
'0%, 100%': { transform: 'perspective(600px) rotateY(0deg)' },
'50%': { transform: 'perspective(600px) rotateY(10deg)' },
},
zoomGlow: {
'0%, 100%': {
transform: 'scale(0.98)',
'box-shadow': '0 0 10px rgba(255, 94, 0, 0.5)'
},
'50%': {
transform: 'scale(1.02)',
'box-shadow': '0 0 25px rgba(255, 94, 0, 0.9), 0 0 35px rgba(255, 221, 0, 0.7)'
},
},
slideHorizontal: {
'0%, 100%': { transform: 'translateX(100%)' },
'50%': { transform: 'translateX(-10%)' },
},
marquee: {
'0%': { transform: 'translateX(100%)' },
'100%': { transform: 'translateX(-100%)' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-15px)' },
},
gradientShift: {
'0%': { 'background-position': '0% 50%' },
'50%': { 'background-position': '100% 50%' },
'100%': { 'background-position': '0% 50%' },
},
}
}
}
}
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
color: #f0f0f0;
min-height: 100vh;
overflow-x: hidden;
}
.notification-card {
background: rgba(20, 20, 20, 0.7);
backdrop-filter: blur(10px);
border-radius: 12px;
border: 1px solid rgba(255, 94, 0, 0.2);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
}
.neon-btn {
background: linear-gradient(45deg, #ff5e00, #ffdd00);
color: #0a0a0a;
font-weight: 600;
border-radius: 30px;
padding: 8px 20px;
position: relative;
overflow: hidden;
transition: all 0.3s;
border: none;
box-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}
.neon-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
transition: all 0.6s;
}
.neon-btn:hover {
transform: translateY(-2px);
box-shadow: 0 0 20px rgba(255, 94, 0, 0.8);
}
.neon-btn:hover::before {
left: 100%;
}
.glow-border {
position: relative;
}
.glow-border::after {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #ff5e00, #ffdd00, #ff5e00);
border-radius: 14px;
z-index: -1;
filter: blur(5px);
opacity: 0.7;
animation: glowPulse 2.5s infinite alternate;
}
.marquee-container {
overflow: hidden;
white-space: nowrap;
}
.gradient-shift {
background: linear-gradient(90deg, #ff5e00, #ffdd00, #ff5e00);
background-size: 200% 200%;
}
.glass-effect {
background: rgba(30, 30, 30, 0.5);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 94, 0, 0.1);
}
.floating {
animation: float 3s ease-in-out infinite;
}
.notification-title {
font-weight: 700;
background: linear-gradient(45deg, #ffdd00, #ff5e00);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.highlight {
color: #ffdd00;
font-weight: 600;
}
.section-title {
position: relative;
display: inline-block;
margin-bottom: 20px;
}
.section-title::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #ff5e00, #ffdd00, #ff5e00, transparent);
}
</style>
</head>
<body class="min-h-screen py-12 px-4 sm:px-8">
<div class="max-w-4xl mx-auto">
<header class="text-center mb-16">
<h1 class="text-4xl md:text-5xl font-bold mb-4">Neon Notification Showcase</h1>
<p class="text-lg text-gray-300 max-w-2xl mx-auto">10 unique notification styles with neon orange/yellow accents on dark UI. All animations loop infinitely.</p>
<div class="mt-6 flex justify-center">
<div class="w-32 h-1 bg-gradient-to-r from-transparent via-neonOrange to-transparent rounded-full"></div>
</div>
</header>
<div class="space-y-20">
<!-- Style 1: Top Bar -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 1: Top Bar Slide Down</h2>
<div class="notification-card glow-border w-full max-w-3xl mx-auto h-20 flex items-center justify-between px-6 py-4 animate-glow-pulse">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mr-4">
<i class="fas fa-bolt text-darkBg text-lg"></i>
</div>
<div>
<p class="font-medium">New Offer Available! <span class="highlight">Claim Now</span></p>
</div>
</div>
<button class="neon-btn animate-bounce">View Offer</button>
</div>
</section>
<!-- Style 2: Bottom Slide-up -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 2: Bottom Slide-up</h2>
<div class="notification-card w-full max-w-lg mx-auto h-24 flex items-center px-6 py-4 animate-bounce">
<div class="flex-1">
<p class="font-medium mb-2">Breaking News: <span class="highlight">Double Rewards Weekend</span></p>
<p class="text-sm text-gray-300">Limited time offer - ends in 48 hours</p>
</div>
<button class="neon-btn">Learn More</button>
<div class="absolute bottom-0 left-0 right-0 h-1 bg-gradient-to-r from-neonOrange to-neonYellow animate-glow-pulse"></div>
</div>
</section>
<!-- Style 3: Floating Card -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 3: Floating Card</h2>
<div class="notification-card w-80 mx-auto p-6 animate-float">
<div class="text-center">
<div class="w-16 h-16 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mx-auto mb-4">
<i class="fas fa-gift text-darkBg text-2xl"></i>
</div>
<h3 class="text-xl font-bold mb-2 notification-title">Special Gift Inside!</h3>
<p class="text-gray-300 mb-4">You've received a bonus reward for being a loyal member</p>
<button class="neon-btn w-full">Claim Gift</button>
</div>
</div>
</section>
<!-- Style 4: Corner Toast -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 4: Corner Toast</h2>
<div class="flex justify-end">
<div class="notification-card glass-effect w-72 p-4 animate-scale-pulse">
<div class="flex">
<div class="w-3 h-full bg-gradient-to-b from-neonOrange to-neonYellow rounded-full mr-3"></div>
<div>
<p class="font-medium mb-1">System Upgrade Complete</p>
<p class="text-sm text-gray-300">New features are now available!</p>
</div>
</div>
<button class="neon-btn mt-3 text-sm">Explore</button>
</div>
</div>
</section>
<!-- Style 5: Banner Overlay -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 5: Banner Overlay</h2>
<div class="notification-card w-full max-w-2xl mx-auto p-5 animate-flip">
<div class="flex items-center">
<div class="flex-1">
<p class="text-lg font-bold mb-1"><i class="fas fa-fire text-neonOrange mr-2"></i> Flash Sale Live Now!</p>
<p class="text-gray-300">Up to 70% off on premium items - ends soon</p>
</div>
<button class="neon-btn">Shop Now</button>
</div>
</div>
</section>
<!-- Style 6: Modal Center -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 6: Modal Center</h2>
<div class="notification-card glass-effect w-full max-w-sm mx-auto p-6 animate-zoom-glow">
<div class="text-center mb-5">
<div class="w-20 h-20 rounded-full border-4 border-opacity-30 border-neonYellow mx-auto mb-4 flex items-center justify-center animate-scale-pulse">
<i class="fas fa-star text-neonYellow text-3xl"></i>
</div>
<h3 class="text-xl font-bold mb-2 notification-title">You've Been Selected!</h3>
<p class="text-gray-300">Exclusive access to VIP features unlocked</p>
</div>
<div class="flex gap-3">
<button class="flex-1 py-2 px-4 bg-gray-800 rounded-lg hover:bg-gray-700 transition">Later</button>
<button class="flex-1 neon-btn">Access Now</button>
</div>
</div>
</section>
<!-- Style 7: Slide Horizontal -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 7: Slide Horizontal</h2>
<div class="notification-card overflow-hidden w-full max-w-xl mx-auto animate-slide-horizontal">
<div class="flex items-center p-4">
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mr-4">
<i class="fas fa-bell text-darkBg"></i>
</div>
<div class="flex-1">
<p class="font-medium">New Message: <span class="highlight">Your order has shipped!</span></p>
</div>
<button class="neon-btn text-sm">Track</button>
</div>
</div>
</section>
<!-- Style 8: Marquee Scrolling -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 8: Marquee Scrolling</h2>
<div class="notification-card w-full max-w-3xl mx-auto p-3">
<div class="flex items-center">
<div class="bg-gradient-to-r from-neonOrange to-neonYellow text-darkBg font-bold py-1 px-3 rounded mr-4">
<i class="fas fa-bullhorn mr-2"></i> ALERT
</div>
<div class="marquee-container w-full overflow-hidden">
<p class="animate-marquee inline-block pl-[100%]">Server maintenance scheduled for tonight at 2AM GMT • Double XP weekend starts tomorrow! • New content update available - download now!</p>
</div>
</div>
</div>
</section>
<!-- Style 9: Floating Hover -->
<section class="relative pt-10">
<h2 class="text-2xl font-bold mb-8 section-title">Style 9: Floating Hover</h2>
<div class="flex justify-center">
<div class="notification-card glass-effect w-64 p-5 animate-float">
<div class="text-center">
<div class="w-12 h-12 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mx-auto mb-3">
<i class="fas fa-user-plus text-darkBg"></i>
</div>
<h3 class="font-bold mb-1 notification-title">New Follower</h3>
<p class="text-sm text-gray-300 mb-3">@design_master started following you</p>
<button class="neon-btn text-sm">View Profile</button>
</div>
</div>
</div>
</section>
<!-- Style 10: Gradient Shift -->
<section class="relative pt-10 pb-20">
<h2 class="text-2xl font-bold mb-8 section-title">Style 10: Gradient Shift</h2>
<div class="notification-card w-full max-w-md mx-auto p-5 relative overflow-hidden">
<div class="absolute top-0 left-0 w-full h-1 gradient-shift animate-gradient-shift"></div>
<div class="pt-6 pb-4">
<div class="flex items-start">
<div class="bg-gradient-to-br from-neonOrange to-neonYellow text-darkBg p-2 rounded-lg mr-4">
<i class="fas fa-exclamation-triangle text-lg"></i>
</div>
<div>
<p class="font-bold text-lg mb-1">Security Alert</p>
<p class="text-gray-300 text-sm">Unusual login activity detected on your account</p>
</div>
</div>
<div class="flex gap-3 mt-5">
<button class="flex-1 py-2 bg-gray-800 rounded-lg hover:bg-gray-700 transition">Dismiss</button>
<button class="flex-1 neon-btn">Secure Account</button>
</div>
</div>
</div>
</section>
</div>
</div>
<footer class="mt-20 py-6 text-center text-gray-500 text-sm">
<p>Modern Notification Showcase • Neon Orange/Yellow Theme • All animations loop infinitely</p>
<p class="mt-2">Created with Tailwind CSS and custom animations</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-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>