Stylish Gradient 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>Stylish Gradient Border Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #444; margin: 0; } .gradient-border-button { padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: transparent; border: 4px solid; border-image-slice: 1; border-width: 4px; border-image-source: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00bf); border-radius: 30px; cursor: pointer; outline: none; transition: all 0.3s ease; } .gradient-border-button:hover { background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00bf); background-clip: text; -webkit-background-clip: text; color: transparent; } .gradient-border-button span { position: relative; z-index: 1; } </style> </head> <body> <button type="button" class="gradient-border-button"> <span>Stylish Gradient Border</span> </button> </body> </html>