.container {
width: 400px;
border: 2px solid red;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.item {
padding: 20px;
border: 1px solid blue;
margin: 10px;
width: 70px;
}
<div class="container">
<div class=item>Box 1</div>
<div class=item>Box 2</div>
<div class=item>Box 3</div>
<div class=item>Box 4</div>
<div class=item>Box 5</div>
</div>
My question is, how can I move the Box 5
next to Box 4
without the space between them? At the moment, the Box 5
is move to right end, and Box 4
is stay on the left.