Floating Shadow Link - 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 Shadow Link</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f5f5f5; font-family: Arial, sans-serif; } .link-floating-shadow { display: inline-block; padding: 15px 30px; font-size: 18px; color: #fff; text-decoration: none; background-color: #ff5722; border-radius: 30px; position: relative; overflow: hidden; transition: all 0.4s ease; box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3); } .link-floating-shadow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background-color: rgba(255, 255, 255, 0.2); transform: translate(-50%, -50%) rotate(45deg); transition: all 0.6s ease; opacity: 0; } .link-floating-shadow:hover::before { opacity: 1; } </style> </head> <body> <a href="#" class="link-floating-shadow">Floating Shadow Link</a> </body> </html>