Skyhigh 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>SkyHigh Header</title> <style> body { margin: 0; font-family: 'Arial', sans-serif; background-color: #e3f2fd; } .header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background-color: #e3f2fd; background-image: linear-gradient(to top left, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2) 30%, rgba(0, 0, 0, 0)); box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .6), inset -2px -2px 3px rgba(0, 0, 0, .6); border-radius: 15px; margin: 20px; transition: transform 0.3s ease-in-out; } .header:hover { transform: translateY(-10px); } .logo { font-size: 1.5em; font-weight: bold; color: #1976d2; text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); display: flex; align-items: center; } .logo img { width: 40px; margin-right: 10px; } .nav { display: flex; gap: 20px; } .nav a { text-decoration: none; color: #1976d2; font-size: 1em; position: relative; } .nav a::after { content: ''; position: absolute; width: 0; height: 2px; display: block; margin-top: 5px; right: 0; background: #1976d2; transition: width 0.4s ease; -webkit-transition: width 0.4s ease; } .nav a:hover::after { width: 100%; left: 0; background-color: #1976d2; } .nav a:hover { color: #0d47a1; } .icons { display: flex; gap: 20px; } .icons i { font-size: 1.5em; color: #1976d2; cursor: pointer; transition: color 0.3s ease; } .icons i:hover { color: #0d47a1; } @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"> SkyHigh </div> <nav class="nav"> <a href="#">Home</a> <a href="#">Explore</a> <a href="#">Blog</a> <a href="#">Contact</a> </nav> <div class="icons"> <i class="fas fa-search"></i> <i class="fas fa-plane"></i> <i class="fas fa-user"></i> </div> </div> </body> </html>