Professional 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"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> <title>Professional Header</title> <style> body { margin: 0; font-family: 'Arial', sans-serif; background-color: #f0f0f0; } .header { background: linear-gradient(45deg, #1d1e22, #424242); color: white; padding: 20px 0; position: relative; z-index: 1000; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .logo { display: flex; align-items: center; font-size: 24px; font-weight: bold; text-transform: uppercase; } .logo img { margin-right: 10px; width: 40px; height: 40px; } .nav-links { display: flex; gap: 20px; } .nav-links a { color: white; text-decoration: none; font-size: 18px; position: relative; } .nav-links a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background-color: white; transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; } .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; } .cta-button { background-color: #ff4b5c; color: white; border: none; padding: 10px 20px; border-radius: 25px; cursor: pointer; transition: background-color 0.3s ease; } .cta-button:hover { background-color: #e0444e; } .header-icons { display: flex; gap: 15px; font-size: 20px; } .header-icons a { color: white; text-decoration: none; transition: color 0.3s ease; } .header-icons a:hover { color: #ff4b5c; } .wave { position: absolute; bottom: 0; width: 100%; height: 100px; background: url('https://www.svgrepo.com/show/2046/wave.svg') repeat-x; background-size: contain; z-index: -1; animation: wave-animation 10s infinite linear; } @keyframes wave-animation { from { transform: translateX(0); } to { transform: translateX(-1000px); } } .emoji-bounce { display: inline-block; animation: bounce 1s infinite alternate; } @keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-10px); } } </style> </head> <body> <header class="header"> <div class="header-container"> <div class="logo"> <img src="logo.png" alt="Logo"> <span>My Brand</span> </div> <nav class="nav-links"> <a href="#home">Home</a> <a href="#about">About</a> <a href="#services">Services</a> <a href="#contact">Contact</a> </nav> <button type="button" class="cta-button">Get Started</button> <div class="header-icons"> <a href="#" title="Facebook" class="emoji-bounce"><i class="fab fa-facebook-f"></i></a> <a href="#" title="Twitter" class="emoji-bounce"><i class="fab fa-twitter"></i></a> <a href="#" title="Instagram" class="emoji-bounce"><i class="fab fa-instagram"></i></a> <a href="#" title="LinkedIn" class="emoji-bounce"><i class="fab fa-linkedin-in"></i></a> <a href="#" title="Youtube" class="emoji-bounce"><i class="fab fa-youtube"></i></a> </div> </div> <div class="wave"></div> </header> </body> </html>