So, I have a div("NormalInventory") with many childrens(32), each child has size of 85px x 85px except for one div, this div has size of 175px x 175px. Each div has attribute position: relative & display: inline-block, so it is a css "list". But because there is one div that is bigger than the others, there are empty spaces. And I don't know how to fill those free spaces with boxes.
A Screenshot how it looks:
A Screenshot how it should look(edited in paint):
html:
<div class="NormalInventory">
<div class="children">
...
</div>
</div>
.NormalInventory {
position: absolute;
height: 100%;
width: 100%;
.InventoryItemPlaceholder {
position: relative;
display: inline-block;
background-color: #070707E6;
left: -5px;
margin-left: 5px;
}
}

