I have a case where I'm required to use flexbox (and not css grid).
The parent can have multiple widths,
but the children should be:
100% width
IF they are wrappedmax-width 200px
IF they are not wrapped.
When the parent is eg. 300px
, I'm not sure how to achieve this. (Without JS)
Here's the codepen with the problem: https://codepen.io/mesqueeb/pen/PMqoEa