Pastel Waves 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>Pastel Waves 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 top left, #a1c4fd, #c2e9fb); 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: #ffffff; background: linear-gradient(to top left, #a1c4fd, #c2e9fb); 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-sun"></i> Sunshine </button> <script> document.querySelector('.button').addEventListener('click', function() { alert('Pastel Waves Button Clicked!'); }); </script> </body> </html>