Professional 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>Professional 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; } .notification-container { position: relative; display: inline-block; margin: 20px; } .notification-icon { font-size: 50px; color: #ff4757; animation: pulse 2s infinite; position: relative; } .notification-badge { position: absolute; top: -10px; right: -10px; background-color: #ff4757; color: #fff; font-size: 14px; width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; animation: bounce 1.5s infinite; } .notification-badge::after { content: '🔔'; position: absolute; font-size: 18px; top: -15px; right: -15px; animation: shake 1s infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(15deg); } 50% { transform: rotate(-15deg); } 75% { transform: rotate(15deg); } } </style> </head> <body> <div class="notification-container"> <span class="notification-icon">💌</span> <span class="notification-badge">9</span> </div> <div class="notification-container"> <span class="notification-icon">📧</span> <span class="notification-badge">5</span> </div> </body> </html>