Shadow Pulse 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>Shadow Pulse Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #1e2a38; margin: 0; } .pulse-button { position: relative; padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: #607d8b; border: none; border-radius: 30px; cursor: pointer; overflow: hidden; outline: none; transition: box-shadow 0.3s ease; } .pulse-button:hover { box-shadow: 0 0 20px #607d8b; } .pulse-button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent); transform: translate(-50%, -50%) scale(1); transition: transform 0.6s ease; } .pulse-button:hover::before { transform: translate(-50%, -50%) scale(1.2); } .pulse-button span { position: relative; z-index: 1; } </style> </head> <body> <button type="button" class="pulse-button"> <span>Shadow Pulse</span> </button> </body> </html>