.mp-row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; } .mp-col { flex: 1; }