blue-header.html
html/components/blue-header.html
HTML
HTML snippet: blue-header.html
blue-header.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bubbles and Beyond</title>
</head>
<body>
<header>
<style>
.bnb-header {
background: #fff;
border-bottom: 3px solid #0176d3;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 48px;
font-family: Arial, sans-serif;
}
.bnb-brand {
display: flex;
align-items: center;
gap: 14px;
text-decoration: none;
}
.bnb-brand .placeholder {
width: 48px;
height: 48px;
border: 1px dashed #0176d3;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.6rem;
color: #0176d3;
}
.bnb-brand span {
font-size: 1.1rem;
font-weight: 700;
color: #032d60;
letter-spacing: 0.3px;
}
.bnb-nav {
display: flex;
align-items: center;
gap: 24px;
list-style: none;
}
.bnb-nav a {
font-size: 0.85rem;
color: #032d60;
text-decoration: none;
}
.bnb-nav a:hover {
color: #0176d3;
}
.bnb-nav .cta {
background: #0176d3;
color: #fff;
padding: 8px 18px;
border-radius: 4px;
}
.bnb-nav .cta:hover {
background: #014486;
color: #fff;
}
@media (max-width: 600px) {
.bnb-header {
flex-direction: column;
gap: 16px;
padding: 20px;
}
.bnb-nav {
gap: 16px;
flex-wrap: wrap;
justify-content: center;
}
}
</style>
<div class="bnb-header">
<a class="bnb-brand" href="#">
<!-- swap with <img src="..." alt="Bubbles and Beyond logo" height="48"> -->
<div class="placeholder">LOGO</div>
<span>Bubbles & Beyond</span>
</a>
<nav>
<ul class="bnb-nav">
<li><a href="#">Home</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Support</a></li>
<li><a href="#" class="cta">Contact Us</a></li>
</ul>
</nav>
</div>
</header>
</body>
</html>