Frosted Glass 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>Frosted Glass 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, #f5f7fa, #c3cfe2); height: 100vh; display: flex; justify-content: center; align-items: center; } .badge-glass { display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 12px 24px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); color: #fff; font-size: 16px; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(255, 255, 255, 0.2); } .badge-glass:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); } .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, #ff9a9e, #fad0c4); 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-glass"> <div class="badge-icon"> <i class="fas fa-star"></i> </div> <div class="badge-content"> <span>Frosted Glass</span> </div> </div> </body> </html>