Double Border 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 Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #fff; margin: 0; } .double-border-button { padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: #16a085; border: none; border-radius: 30px; cursor: pointer; outline: none; position: relative; transition: all 0.3s ease; } .double-border-button::before, .double-border-button::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 30px; transition: all 0.3s ease; } .double-border-button::before { border: 2px solid #1abc9c; } .double-border-button::after { border: 4px solid #1abc9c; transform: scale(0.9); } .double-border-button:hover::before, .double-border-button:hover::after { transform: scale(1.1); } .double-border-button span { position: relative; z-index: 1; } </style> </head> <body> <button type="button" class="double-border-button"> <span>Double Border</span> </button> </body> </html>