Site Header
How do I make an site header?
Homepage header revised style. What is a site header? How do you make a site header? This script and codes were developed by Kevin Sherman on 06 September 2022, Tuesday.
Site Header - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Site Header</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://www.ben.edu/style/foundation-grid.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav class="lisle"> <div class="utility"> <div class="row"> <div class="small-5 columns campus"> <ul> <li>Campus:</li> <li><a href="#">Lisle, IL</a></li> <li><a href="#">Springfield, IL</a></li> <li><a href="#">Mesa, AZ</a></li> <li><a href="#">National Moser Center</a></li> </ul> </div> <div class="small-7 columns secondary"> <ul> <li><a href="#">Account Login</a></li> <li><a href="#">Library</a></li> <li><a href="#">Apply Now</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Maps & Directions</a></li> <li><input type="text" placeholder="search..."></li> </ul> </div> </div> </div> <div class="brand"> <a href="/"><img src="https://ben.edu/style/images/BULogo.svg"></a> </div> <div class="primary"> <div class="row collapse"> <div class="small-12 columns"> <ul> <li><a href="#">About & Campus Locations</a></li> <li><a href="#">Degree Programs</a></li> <li><a href="#">Admissions</a></li> <li><a href="#">Campus Community</a></li> <li><a href="#">Athletics</a></li> </ul> </div> </div> </div>
</nav>
<div style="height: 75vh; background-color: #ddd; width: 100%;"></div>
</body>
</html>
Site Header - Script Codes CSS Codes
nav.lisle .utility { background: linear-gradient(#222, #333); color: white; display: block; width: 100%;
}
nav.lisle .utility .secondary { text-align: right;
}
nav.lisle .utility ul { list-style-type: none; margin: 0; padding: 0;
}
nav.lisle .utility ul > li { display: inline-block; font-size: 0.8rem;
}
nav.lisle .utility ul > li > a { display: block; text-decoration: none; color: white; padding: 6px 4px; border-bottom: 2px solid #333; height: 33px;
}
nav.lisle .utility ul > li > a:hover { color: #d65c5c; background-color: #2f2f2f; border-bottom: 2px solid #cc3333;
}
nav.lisle .utility ul > li input[type="text"] { border: none; border-left: 1px solid #666; border-right: 1px solid #666; padding: 7px 0 10px 6px; color: white; background-color: transparent;
}
nav.lisle .brand { border-top: 1px solid #e98585; background: linear-gradient(#dd4444, #cc3333); text-align: center; border-bottom: 1px solid #c03030;
}
nav.lisle .brand > a { display: block; width: 100%; padding: 1rem;
}
nav.lisle .brand > a > img { width: 300px;
}
nav.lisle .primary { background-color: #cc3333; width: 100%; border-bottom: 5px solid #db7070;
}
nav.lisle .primary ul { list-style: none; margin: 0; padding: 0; display: flex; width: 100%;
}
nav.lisle .primary li { background-image: linear-gradient(to bottom, transparent 50%, #b42d2d 50%, #b42d2d 95%, #832121 95%); background-size: 100% 200%; background-position: top center; color: #666; display: block; text-align: center; text-decoration: none; transition: all .25s ease-in-out; flex: 1 1 auto;
}
nav.lisle .primary li:hover { background-position: bottom center; transform: scale(1.2);
}
nav.lisle .primary li a { color: white; display: block; padding: 1rem 0; transition: all .25s ease-in-out; text-decoration: none; font-weight: 300; font-size: 14px;
}
Developer | Kevin Sherman |
Username | ksherman |
Uploaded | September 06, 2022 |
Rating | 3 |
Size | 3,300 Kb |
Views | 30,360 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
QCore Order Entry | 3,136 Kb |
Inquiry Form Test | 13,131 Kb |
BenU Interior Page Layout | 6,731 Kb |
BenU - Campus Life Experience | 7,137 Kb |
Degree Search with AngularJS | 6,810 Kb |
Main Campus Homepage Concept | 12,512 Kb |
Mobile floating menu | 3,091 Kb |
Vue - Alerts | 2,398 Kb |
Degree Map | 3,137 Kb |
International Admissions Scratch | 4,878 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Pure CSS Tooltip | APinix | 2,815 Kb |
Fading gradient button | Insprd | 1,713 Kb |
Lecture 1 | Law | 0 Kb |
Fun form with currentColor | Bnthor | 2,713 Kb |
Mobile Sub Menu Concept | Berdejitendra | 2,790 Kb |
700 Synapses Per Second | Silentkrange | 2,138 Kb |
3D Text in Sass | Bookcasey | 2,766 Kb |
Guage | Roygwells | 5,653 Kb |
Android Logo with HTML and CSS | Wifi | 2,000 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!