My question is how to position the black div below the network when the browser is resized?
.teste2 {
float:right;
width: 200px;
height: 100px;
margin-top: -100px;
background-color:black;
}
#teste {
width: 200px;
height: 100px;
display: flex;
flex-wrap: wrap;
background-color: red;
display: -webkit-flex; /* Safari */
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
}
<header id="header" style="width: 100%;">
<div id="teste"></div>
<div class="teste2"></div>
</header>