Floating Shadows Download 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>Floating Shadows Download Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #e0e0e0; margin: 0; font-family: Arial, sans-serif; } .download-btn { display: inline-flex; align-items: center; padding: 15px 30px; background: #f44336; color: white; font-size: 18px; font-weight: bold; text-decoration: none; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); position: relative; transition: all 0.3s ease; } .download-btn:hover { box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3); } .download-btn .icon { margin-right: 10px; font-size: 24px; transition: transform 0.3s ease; } .download-btn:hover .icon { transform: translateY(-3px); } .download-btn .shadow { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; animation: floatingShadow 3s infinite; } @keyframes floatingShadow { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.2); } } </style> </head> <body> <a href="#" class="download-btn"> <span class="icon">⬇️</span> Download <div class="shadow"></div> </a> </body> </html>