There seems to be an issue with two divs stacking on top of each other, which is not the desired layout. This problem occurs when five div boxes are added.
The goal is to have all divs in a single row, but it's unclear why this layout is not working as intended.
.Box {
height: 200px;
background-color: pink;
width: 18%;
float: left;
margin: 5px;
margin-left: 10.5px;
}
.wrapper {
width: 960px;
max-width: 90%;
margin: 0 auto;
border: solid black 5px;
float: left;
margin: 100px 40px;
}
.Logo1 {
width: 100px;
height: 100px;
background-color: grey;
float: left;
margin: 25px;
background: url(https://via.placeholder.com/100);
background-size: contain;
}
<div class="wrapper">
<div class="Box">
<div class="Logo1"></div>
</div>
<div class="Box"></div>
<div class="Box"></div>
<div class="Box"></div>
<div class="Box"></div>
</div>