I'm using flexbox for css but you can look the problem, I don't want this margin bellow 1 & 2 elements.
.container {
display:flex;
flex-wrap:wrap;
width:500px;
border:4px solid black;
padding:2px;
}
.float {
width:250px;
height:200px;
border:1px solid red;
margin-bottom:2px;
}
p {
width:120px;
height:100px;
border:1px solid blue;
margin:auto;
margin-top:0;
}
<div class="container">
<p class="float">Left element</p>
<p>1</p>
<p>2</p>
<p>element</p>
<p>element</p>
<p>I want bellow 1 (there is a hole)</p>
<p>I want bellow 2 (same)</p>
</div>
I tryed lots of things but impossible to fix it... Hope you can help me!