.flex-container { display: flex; flex-direction: row; margin: 0; padding: 0; justify-content: space-between; } div { width : 180px; }