live-notification-4 / 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
3cf7cb6 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>
<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: '#ffd700',
darkBg: '#0a0a0a'
},
boxShadow: {
'neon-orange': '0 0 15px 0 rgba(255, 94, 0, 0.7)',
'neon-yellow': '0 0 15px 0 rgba(255, 215, 0, 0.7)',
'neon-glow': '0 0 15px 5px rgba(255, 94, 0, 0.5)',
'button-glow': '0 0 10px 3px rgba(255, 94, 0, 0.8)'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background-color: #0a0a0a;
color: #f0f0f0;
min-height: 100vh;
padding: 2rem;
background-image:
radial-gradient(circle at 10% 20%, rgba(40, 40, 40, 0.1) 0%, transparent 20%),
radial-gradient(circle at 90% 80%, rgba(40, 40, 40, 0.1) 0%, transparent 20%);
}
.header {
text-align: center;
max-width: 800px;
margin: 0 auto 3rem;
padding: 2rem 0;
}
.header h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(45deg, #ff5e00, #ffd700);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 0 15px rgba(255, 94, 0, 0.3);
}
.header p {
font-size: 1.1rem;
color: #aaa;
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
}
.showcase-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 5rem;
padding-bottom: 4rem;
}
.notification-section {
background: rgba(15, 15, 15, 0.7);
border-radius: 20px;
padding: 2.5rem;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.section-title {
font-size: 1.8rem;
margin-bottom: 2rem;
color: #ffd700;
text-align: center;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 600;
position: relative;
display: inline-block;
left: 50%;
transform: translateX(-50%);
}
.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, transparent, #ff5e00, #ffd700, #ff5e00, transparent);
border-radius: 3px;
}
.notification {
position: relative;
padding: 1.5rem;
border-radius: 12px;
background: rgba(20, 20, 20, 0.85);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
max-width: 500px;
margin: 0 auto;
border: 1px solid rgba(255, 255, 255, 0.05);
overflow: hidden;
z-index: 10;
}
.notification::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, rgba(255, 94, 0, 0.1), rgba(255, 215, 0, 0.1));
z-index: -1;
pointer-events: none;
}
.notification-icon {
font-size: 1.8rem;
margin-right: 1rem;
background: linear-gradient(45deg, #ff5e00, #ffd700);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.notification-content {
display: flex;
align-items: center;
margin-bottom: 1.5rem;
}
.notification h3 {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 0.3rem;
color: #fff;
}
.notification p {
color: #ccc;
font-size: 0.95rem;
line-height: 1.5;
}
.notification-btn {
background: linear-gradient(45deg, #ff5e00, #ffd700);
color: #000;
border: none;
padding: 0.6rem 1.5rem;
border-radius: 30px;
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 0.5px;
position: relative;
overflow: hidden;
z-index: 1;
}
.notification-btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, #ffd700, #ff5e00);
opacity: 0;
transition: opacity 0.3s ease;
z-index: -1;
}
.notification-btn:hover::before {
opacity: 1;
}
/* Animation Keyframes */
@keyframes slideDown {
0% { transform: translateY(-100px); opacity: 0; }
10%, 90% { transform: translateY(0); opacity: 1; }
100% { transform: translateY(-100px); opacity: 0; }
}
@keyframes slideUp {
0% { transform: translateY(100px); opacity: 0; }
10%, 90% { transform: translateY(0); opacity: 1; }
100% { transform: translateY(100px); opacity: 0; }
}
@keyframes fadeInOut {
0%, 100% { opacity: 0; transform: scale(0.95); }
50% { opacity: 1; transform: scale(1); }
}
@keyframes pulseGlow {
0%, 100% { box-shadow: 0 0 5px rgba(255, 94, 0, 0.3); }
50% { box-shadow: 0 0 20px rgba(255, 94, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.5); }
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-15px); }
}
@keyframes flip {
0%, 100% { transform: perspective(800px) rotateY(0deg); }
50% { transform: perspective(800px) rotateY(180deg); }
}
@keyframes zoom {
0%, 100% { transform: scale(0.95); opacity: 0.7; }
50% { transform: scale(1); opacity: 1; }
}
@keyframes slideHorizontal {
0% { transform: translateX(-100%); opacity: 0; }
10%, 90% { transform: translateX(0); opacity: 1; }
100% { transform: translateX(100%); opacity: 0; }
}
@keyframes marquee {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes buttonPulse {
0%, 100% { box-shadow: 0 0 5px #ff5e00; }
50% { box-shadow: 0 0 15px #ffd700, 0 0 20px rgba(255, 215, 0, 0.5); }
}
/* Style-specific animations */
.style-1 {
animation: slideDown 4s infinite ease-in-out, pulseGlow 2s infinite alternate;
}
.style-2 {
animation: slideUp 4s infinite ease-in-out, bounce 2s infinite alternate;
}
.style-3 {
animation: fadeInOut 3s infinite ease-in-out;
}
.style-4 {
animation: pulseGlow 2.5s infinite alternate, zoom 3s infinite ease-in-out;
}
.style-5 {
animation: flip 5s infinite ease-in-out, pulseGlow 2s infinite alternate;
}
.style-6 {
animation: zoom 4s infinite ease-in-out;
}
.style-7 {
animation: slideHorizontal 5s infinite ease-in-out;
}
.style-8 .marquee-container {
overflow: hidden;
position: relative;
}
.style-8 .marquee-content {
display: inline-block;
white-space: nowrap;
animation: marquee 8s linear infinite;
padding-left: 100%;
}
.style-9 {
animation: float 3s infinite ease-in-out;
}
.style-10 {
background: linear-gradient(45deg, #ff5e00, #ffd700, #ff5e00);
background-size: 200% 200%;
animation: gradientShift 4s infinite ease, pulseGlow 3s infinite alternate;
}
.notification-btn {
animation: buttonPulse 2s infinite alternate;
}
/* Responsive design */
@media (max-width: 768px) {
.header h1 {
font-size: 2.2rem;
}
.notification-section {
padding: 1.5rem;
}
.section-title {
font-size: 1.5rem;
}
.showcase-container {
gap: 3.5rem;
}
}
@media (max-width: 480px) {
body {
padding: 1rem;
}
.header h1 {
font-size: 1.8rem;
}
.notification {
padding: 1rem;
}
.notification h3 {
font-size: 1.1rem;
}
.notification p {
font-size: 0.85rem;
}
}
</style>
</head>
<body>
<div class="header">
<h1>Neon Notification Showcase</h1>
<p>10 unique notification styles with glowing neon effects and continuous animations</p>
</div>
<div class="showcase-container">
<!-- Style 1: Top bar - slide down + glow pulse -->
<section class="notification-section">
<h2 class="section-title">Style 1: Slide Down Glow</h2>
<div class="notification style-1">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-bolt"></i>
</div>
<div>
<h3>New Offer Available!</h3>
<p>Limited time special discount on premium features</p>
</div>
</div>
<button class="notification-btn">Claim Now</button>
</div>
</section>
<!-- Style 2: Bottom slide-up + bounce -->
<section class="notification-section">
<h2 class="section-title">Style 2: Slide Up Bounce</h2>
<div class="notification style-2">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-gift"></i>
</div>
<div>
<h3>Double Rewards Weekend!</h3>
<p>Earn double points on all purchases this weekend</p>
</div>
</div>
<button class="notification-btn">Learn More</button>
</div>
</section>
<!-- Style 3: Floating card - fade in/out -->
<section class="notification-section">
<h2 class="section-title">Style 3: Fade Pulse</h2>
<div class="notification style-3">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-star"></i>
</div>
<div>
<h3>You've Leveled Up!</h3>
<p>New achievements unlocked in your profile</p>
</div>
</div>
<button class="notification-btn">View Profile</button>
</div>
</section>
<!-- Style 4: Corner toast - scale pulse -->
<section class="notification-section">
<h2 class="section-title">Style 4: Scale Pulse</h2>
<div class="notification style-4">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-bell"></i>
</div>
<div>
<h3>Meeting Reminder</h3>
<p>Team sync starts in 15 minutes</p>
</div>
</div>
<button class="notification-btn">Join Now</button>
</div>
</section>
<!-- Style 5: Modal center - flip animation -->
<section class="notification-section">
<h2 class="section-title">Style 5: Flip Effect</h2>
<div class="notification style-5">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-exclamation-triangle"></i>
</div>
<div>
<h3>Security Alert</h3>
<p>Unusual activity detected on your account</p>
</div>
</div>
<button class="notification-btn">Secure Account</button>
</div>
</section>
<!-- Style 6: Banner overlay - zoom glow -->
<section class="notification-section">
<h2 class="section-title">Style 6: Zoom Glow</h2>
<div class="notification style-6">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-rocket"></i>
</div>
<div>
<h3>New Feature Launch!</h3>
<p>Dark mode v2.0 now available with custom themes</p>
</div>
</div>
<button class="notification-btn">Try Now</button>
</div>
</section>
<!-- Style 7: Left slide-in - horizontal slide -->
<section class="notification-section">
<h2 class="section-title">Style 7: Slide Horizontal</h2>
<div class="notification style-7">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-shopping-cart"></i>
</div>
<div>
<h3>Order Confirmed!</h3>
<p>Your purchase will arrive by tomorrow</p>
</div>
</div>
<button class="notification-btn">Track Order</button>
</div>
</section>
<!-- Style 8: Marquee scrolling -->
<section class="notification-section">
<h2 class="section-title">Style 8: Marquee Scroll</h2>
<div class="notification">
<div class="marquee-container">
<div class="marquee-content style-8">
<div class="notification-content" style="display: inline-flex; margin-right: 3rem;">
<div class="notification-icon">
<i class="fas fa-fire"></i>
</div>
<div>
<h3>Flash Sale Live! 🔥 24-hour deals ending soon - Up to 70% off premium plans</h3>
</div>
</div>
</div>
</div>
<button class="notification-btn" style="margin-top: 1.5rem;">Shop Deals</button>
</div>
</section>
<!-- Style 9: Floating hover -->
<section class="notification-section">
<h2 class="section-title">Style 9: Floating Hover</h2>
<div class="notification style-9">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-user-plus"></i>
</div>
<div>
<h3>New Connection</h3>
<p>Alex Morgan wants to connect with you</p>
</div>
</div>
<button class="notification-btn">Accept</button>
</div>
</section>
<!-- Style 10: Gradient shift -->
<section class="notification-section">
<h2 class="section-title">Style 10: Gradient Shift</h2>
<div class="notification style-10">
<div class="notification-content">
<div class="notification-icon">
<i class="fas fa-trophy"></i>
</div>
<div>
<h3>Congratulations!</h3>
<p>You've earned the Elite Member badge</p>
</div>
</div>
<button class="notification-btn">View Badge</button>
</div>
</section>
</div>
<script>
// Add hover effects to buttons
document.querySelectorAll('.notification-btn').forEach(button => {
button.addEventListener('mouseenter', () => {
button.style.animation = 'buttonPulse 0.8s infinite alternate';
});
button.addEventListener('mouseleave', () => {
button.style.animation = 'buttonPulse 2s infinite alternate';
});
});
</script>
<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>
</html>