Stylish Bounce 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 Bounce Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f5f5f5; margin: 0; } .bounce-button { padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: #e74c3c; border: none; border-radius: 30px; cursor: pointer; outline: none; transition: transform 0.5s ease; } .bounce-button:hover { animation: bounce 0.5s; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } .bounce-button span { position: relative; z-index: 1; } </style> </head> <body> <button type="button" class="bounce-button"> <span>Stylish Bounce</span> </button> </body> </html>