Aurora 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>Aurora Header</title> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet"> <style> body { margin: 0; font-family: 'Poppins', sans-serif; background: linear-gradient(45deg, #1e3c72, #2a5298); } .header { display: flex; justify-content: space-between; align-items: center; padding: 20px 10%; background-color: rgba(255, 255, 255, 0.1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); position: relative; z-index: 1000; color: #fff; } .logo { font-size: 2rem; font-weight: 700; display: flex; align-items: center; } .logo img { width: 50px; margin-right: 15px; transition: transform 0.5s ease; } .logo:hover img { transform: rotate(360deg); } .nav-links { display: flex; gap: 20px; } .nav-links a { text-decoration: none; color: #fff; font-weight: 400; position: relative; } .nav-links a:after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0%; height: 2px; background-color: #fff; transition: width 0.4s ease-in-out; } .nav-links a:hover:after { width: 100%; } .nav-links a .icon { margin-right: 8px; } .cta-button { background-color: #ff6f61; padding: 10px 20px; border: none; border-radius: 50px; color: #fff; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .cta-button:hover { background-color: #ff4b3a; transform: scale(1.05); } .cta-button .emoji { margin-left: 10px; } </style> </head> <body> <header class="header"> <div class="logo"> <img src="https://via.placeholder.com/50" alt="Logo"> <span>Aurora</span> </div> <nav class="nav-links"> <a href="#"><span class="icon">🏠</span>Home</a> <a href="#"><span class="icon">📝</span>About</a> <a href="#"><span class="icon">📷</span>Gallery</a> <a href="#"><span class="icon">📞</span>Contact</a> </nav> <button class="cta-button">Join Us <span class="emoji">🚀</span></button> </header> </body> </html>