Elegant Aurora Button - 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>Elegant Aurora Button</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(to bottom right, #e3ffe7, #d9e7f0); margin: 0; font-family: 'Arial', sans-serif; } .button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; font-size: 16px; font-weight: bold; color: #000; background: linear-gradient(to bottom right, #e3ffe7, #d9e7f0); border: none; border-radius: 12px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; } .button:hover { transform: scale(1.05); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .button i { margin-right: 8px; } </style> </head> <body> <button class="button"> <i class="fas fa-lightbulb"></i> Enlighten </button> <script> document.querySelector('.button').addEventListener('click', function() { alert('Elegant Aurora Button Clicked!'); }); </script> </body> </html>