I need to build a layout with the following structure.
Wherethebluepartisgoingtobeanimage.
<headerclass="header-bg">
<div class="logo">
<span>Logo</span>
</div>
<nav class="menu">
<ul>
<li><a href="#sobre">Sobre</a></li>
<li><a href="#produtos">Produtos</a></li>
<li><a href="#contato">Contato</a></li>
</ul>
</nav>
<p> BLA BLA BLA </p>
The menu part I think I can use flexbox
, and put a space-between
to leave logo
and menu
each in a corner, however do not know how to put a background image on it, (in the image above) and I do not know how to position P
(BLA BLA BLA) in the middle, maybe using margin: 0 auto
but I do not know if it is the best way.