Fire Notification Badge - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Fire Notification Badge</title> <style> body { font-family: 'Arial', sans-serif; background-color: #f4f4f9; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background: linear-gradient(135deg, #ff7e5f, #feb47b); } .notification-container { position: relative; display: inline-block; margin: 20px; } .notification-icon { font-size: 50px; color: #ff6b6b; animation: flame 2s infinite; position: relative; } .notification-badge { position: absolute; top: -10px; right: -10px; background-color: #ff6b6b; color: #fff; font-size: 14px; width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; animation: burn 1.5s infinite; } .notification-badge::after { content: '🔥'; position: absolute; font-size: 18px; top: -15px; right: -15px; animation: flicker 1s infinite; } @keyframes flame { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } } @keyframes burn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes flicker { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } </style> </head> <body> <div class="notification-container"> <span class="notification-icon">🔥</span> <span class="notification-badge">3</span> </div> </body> </html>