Neonglow 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>NeonGlow Header</title> <style> body { margin: 0; font-family: 'Arial', sans-serif; background-color: #0f0f0f; } .header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: linear-gradient(45deg, #ff6ec4, #7873f5); border-radius: 15px; margin: 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } .logo { font-size: 1.5em; font-weight: bold; color: #fff; display: flex; align-items: center; } .logo img { width: 40px; margin-right: 10px; } .nav { display: flex; gap: 20px; } .nav a { text-decoration: none; color: #fff; font-size: 1em; position: relative; } .nav a::after { content: ''; position: absolute; width: 0; height: 2px; display: block; margin-top: 5px; right: 0; background: #fff; transition: width 0.4s ease; -webkit-transition: width 0.4s ease; } .nav a:hover::after { width: 100%; left: 0; background-color: #fff; } .nav a:hover { color: #ff6ec4; } .icons { display: flex; gap: 20px; } .icons i { font-size: 1.5em; color: #fff; cursor: pointer; transition: color 0.3s ease; } .icons i:hover { color: #ff6ec4; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .header { animation: fadeIn 1s ease-in-out; } </style> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> </head> <body> <div class="header"> <div class="logo"> <img src="https://via.placeholder.com/40" alt="Logo"> NeonGlow </div> <nav class="nav"> <a href="#">Home</a> <a href="#">Portfolio</a> <a href="#">Blog</a> <a href="#">Contact</a> </nav> <div class="icons"> <i class="fas fa-search"></i> <i class="fas fa-envelope"></i> <i class="fas fa-user"></i> </div> </div> </body> </html>