Crystal 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>Crystal Badge</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { margin: 0; font-family: Arial, sans-serif; background: linear-gradient(to right, #e0c3fc, #8ec5fc); height: 100vh; display: flex; justify-content: center; align-items: center; } .badge-crystal { display: flex; align-items: center; background: rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 12px 24px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); color: #fff; font-size: 16px; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(255, 255, 255, 0.3); } .badge-crystal:hover { transform: scale(1.05); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); } .badge-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 10px; font-size: 22px; background: linear-gradient(135deg, #a6c0fe, #f68084); border-radius: 50%; color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .badge-content { display: flex; align-items: center; } .badge-content span { font-weight: bold; } </style> </head> <body> <div class="badge-crystal"> <div class="badge-icon"> <i class="fas fa-gem"></i> </div> <div class="badge-content"> <span>Crystal Badge</span> </div> </div> </body> </html>