.flex-container { display: flex; flex-wrap: wrap; flex-direction: row; } .flex-container > div { width: 250px; text-align: left; }