JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<header>
<div id="heading">
<img src="https://icons.iconarchive.com/icons/ampeross/qetto/64/icon-developer-icon.png">
<button href="/home/default.html">Services</button>
<button href="/xrgroups/default.html">Groups</button>
</div>
</header>
<div id="content">
</div>
</body>
CSS
header {
margin: 0px -8px -8px -8px;
position: fixed;
width: 100%;
background-color: #395FAA;
}
#heading {
display: flex;
align-items: center;
gap: 10px;
height: 66px;
line-height: 66px;
vertical-align: middle;
}
#heading button {
height: 50px;
width: 100px;
color: white;
background-color: #2A477F;
font-weight: bold;
text-transform: uppercase;
border: none;
margin-right: 5px;
}
#content {
height: 2000px;
}