.partners { text-align: center; background-color: white; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .partner_box-img { margin: 16px; max-width: 256px; max-height: 192px; }