Bounce Header - 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>Bounce Header</title> <style> body { margin: 0; font-family: 'Arial', sans-serif; background: linear-gradient(135deg, #a18cd1, #fbc2eb); height: 100vh; display: flex; justify-content: center; align-items: center; overflow: hidden; } .header { width: 90%; max-width: 1200px; padding: 20px 40px; border-radius: 15px; background: rgba(255, 255, 255, 0.2); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); display: flex; justify-content: space-between; align-items: center; animation: bounceIn 2s ease-in-out; border: 1px solid rgba(255, 255, 255, 0.3); } .logo { display: flex; align-items: center; color: #fff; font-size: 1.5em; font-weight: bold; } .logo img { width: 50px; height: 50px; margin-right: 10px; } .nav-links { display: flex; gap: 20px; } .nav-links a { color: #fff; text-decoration: none; font-size: 1.1em; position: relative; padding: 5px 10px; transition: all 0.3s ease; } .nav-links a:hover { color: #fbc2eb; text-shadow: 0 0 5px #fbc2eb; } .button { padding: 10px 20px; border: none; border-radius: 30px; background: linear-gradient(135deg, #fbc2eb, #a18cd1); color: #fff; font-size: 1em; font-weight: bold; cursor: pointer; transition: background 0.3s ease; } .button:hover { background: linear-gradient(135deg, #a18cd1, #fbc2eb); } @keyframes bounceIn { 0% { transform: translateY(-100%); } 60% { transform: translateY(30%); } 100% { transform: translateY(0); } } </style> </head> <body> <header class="header"> <div class="logo"> <img src="logo.png" alt="Logo"> BounceBrand </div> <nav class="nav-links"> <a href="#">Home</a> <a href="#">About</a> <a href="#">Services</a> <a href="#">Contact</a> </nav> <button class="button">Subscribe</button> </header> </body> </html>