Shimmer 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>Shimmer Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #222; margin: 0; } .shimmer-button { padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: #e74c3c; border: none; border-radius: 30px; cursor: pointer; outline: none; overflow: hidden; position: relative; } .shimmer-button:before { content: ''; position: absolute; top: 0; left: -100%; width: 200%; height: 100%; background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent); transition: all 0.3s ease; } .shimmer-button:hover:before { left: 100%; transition: all 0.3s ease; } .shimmer-button span { position: relative; z-index: 1; } </style> </head> <body> <button type="button" class="shimmer-button"> <span>Shimmer</span> </button> </body> </html>