.variations.wx-rHquWPuW { display: flex; flex-direction: row; flex-wrap: wrap; } .variations.wx-rHquWPuW > div { margin: 0 20px 60px 20px; width: 400px; } .bg.wx-rHquWPuW { border-top: 1px solid #ccc; padding: 10px; height: 100%; }