Highly Styled Badges - 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>Highly Styled Badges</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #f3f4f6; font-family: 'Arial', sans-serif; } .badge-container { display: flex; justify-content: center; align-items: center; gap: 20px; } .badge { position: relative; display: inline-block; padding: 15px 30px; border-radius: 30px; background: linear-gradient(45deg, #ff6b6b, #f94d6a, #f65c5c); color: white; font-size: 16px; font-weight: bold; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; overflow: hidden; } .badge:hover { transform: translateY(-10px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); } .badge-icon { position: absolute; top: -20px; left: -20px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; justify-content: center; align-items: center; font-size: 24px; transition: transform 0.3s ease; } .badge:hover .badge-icon { transform: scale(1.2) rotate(20deg); } @keyframes emoji-bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } .badge-emoji { display: inline-block; animation: emoji-bounce 2s infinite; } </style> </head> <body> <div class="badge-container"> <div class="badge"> <span class="badge-icon">🌟</span> Top Performer </div> <div class="badge"> <span class="badge-icon">🎉</span> Achievement Unlocked </div> <div class="badge"> <span class="badge-icon">🏆</span> Champion </div> </div> </body> </html>