I'm trying to duplicate a very basic layout where the logo is exactly in the center and two icons of different size are at the left and right of the header bar.
What I need is (1) but what I get is (2):
.showcase header {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 0px 0px;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
}
<section class="showcase">
<header>
<div class="toggle">toggle</div>
<h2 class="logo">LOGO</h2>
<div class="booknow">averyverylongbooknow</div>
</header>
</section>