*, *:before, *:after { box-sizing: border-box; } body { margin: 0; height: 100vh; background-color: lavender; padding: 20px; } .showCase { display: flex; .productCard{ padding: 10px; margin: 10px 10px 10px 0; width: 150px; height: 150px; background-color: #c083ef; border-radius: 5px; } .productName{ text-align: center; background-color: gold; padding: 5px; color: black; margin-top: 0px; } .productPrice{ text-align: center; padding: 10px; color: black; } .productQuantity{ padding: 10px 0px 10px; text-align: center; }