Blinking 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>Blinking Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #000; margin: 0; } .blinking-button { padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: #ff0000; border: none; border-radius: 30px; cursor: pointer; outline: none; animation: blink 1s infinite; transition: all 0.3s ease; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .blinking-button:hover { background: #ff5555; } .blinking-button span { position: relative; z-index: 1; } </style> </head> <body> <button type="button" class="blinking-button"> <span>Blinking</span> </button> </body> </html>