live-notification-3 / 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
e0e51eb 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: '#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>