Glossy Button

🌐 Glossy Button


        
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Gray Glossy Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background: linear-gradient(135deg, #0f0f0f, #1c1c1c 50%, #2a2a2a); background-attachment: fixed; background-repeat: no-repeat; font-family: Arial, sans-serif; } .glossy-glowing-button { display: inline-block; padding: 15px 40px; font-size: 18px; font-weight: bold; color: #f5f5f5; text-transform: uppercase; text-align: center; text-decoration: none; background: linear-gradient(to bottom, #8c8c8c, #6e6e6e); border: none; border-radius: 12px; box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5), 0px 0px 25px rgba(128, 128, 128, 0.8); position: relative; overflow: hidden; cursor: pointer; transition: all 0.3s ease; } .glossy-glowing-button:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: rgba(255, 255, 255, 0.3); border-radius: 12px; pointer-events: none; } .glossy-glowing-button:hover { box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6), 0px 0px 35px rgba(150, 150, 150, 1), 0px 0px 50px rgba(200, 200, 200, 1); transform: translateY(-3px); } .glossy-glowing-button:active { box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5), 0px 0px 20px rgba(128, 128, 128, 0.8); transform: translateY(3px); } </style> </head> <body> <button class="glossy-glowing-button">Click Me</button> </body> </html>

🔍 Output Preview