<div class="boxes"> <div class="box1"> H: 357<br> S: 100<br> L: 79 </div> <div class="box2"> H: 17<br> S: 77<br> L: 53 </div> <div class="box3"> H: 37<br> S: 100<br> L: 50 </div> <div class="box4"> H: 57<br> S: 78<br> L: 51 </div> <div class="box5"> H: 77<br> S: 100<br> L: 59 </div> </div>
.boxes { clear: both; } .box3 { height: 70px; width: 70px; float: left; background-color: rgba(255, 157, 0, 1); } .box1 { height: 70px; width: 70px; float: left; background-color: rgba(255, 46, 56, 1); } .box2 { height: 70px; width: 70px; float: left; background-color: rgba(227, 95, 43, 1); } .box4 { height: 70px; width: 70px; float: left; background-color: rgba(228, 218, 33, 1); } .box5 { height: 70px; width: 70px; float: left; background-color: rgba(196, 255, 46, 1); }