Flexbox item wrap to new line

PHOTO EMBED

Tue Apr 04 2023 04:17:28 GMT+0000 (Coordinated Universal Time)

Saved by @tofufu #css

// If you look at [this great answer](https://stackoverflow.com/a/29733127/1548895) you'll notice that the only cross-browser way (without 2 line break limit) is inserting `100%`\-width empty blocks ("line-breaks"). So for similar markup this will look like

.flex {
  display: flex;
  flex-wrap: wrap;
  border: 2px solid red;
}

.line-break {
  width: 100%;
}
content_copyCOPY

https://stackoverflow.com/questions/45086899/flexbox-item-wrap-to-a-new-line