Double Border 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>Double Border Download Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #fce4ec; margin: 0; font-family: Arial, sans-serif; } .download-btn { position: relative; padding: 15px 30px; background: #d81b60; color: white; font-size: 18px; font-weight: bold; text-decoration: none; border-radius: 8px; overflow: hidden; display: inline-flex; align-items: center; border: 2px solid #d81b60; } .download-btn::before, .download-btn::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid transparent; border-radius: 8px; transition: all 0.3s ease; } .download-btn::before { border-top-color: #f8bbd0; border-right-color: #f8bbd0; transform: translate(10px, 10px); } .download-btn::after { border-bottom-color: #f8bbd0; border-left-color: #f8bbd0; transform: translate(-10px, -10px); } .download-btn:hover::before, .download-btn:hover::after { transform: translate(0, 0); } .download-btn .icon { margin-right: 10px; font-size: 24px; } </style> </head> <body> <a href="#" class="download-btn"> <span class="icon">⬇️</span> Download </a> </body> </html>