Is there a possibility or a workaround, that elements are floated left when I've something like a grid done with flexbox and justify-content: space-between?
Here is my code/demo, what I mean:
#wrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#wrapper div {
width: 19%;
background: #ccc;
height: 50px;
margin-bottom: 20px;
}
<div id="wrapper">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
This first 10 boxes are okay, I want to have something like this grid, but the last ones should take place next to each other and not with this lots of space between.