Possible to use CSS Flexbox to stretch elements on every row while maintaining consistent widths? [duplicate]
问题 This question already has answers here : Targeting flex items on the last or specific row (3 answers) Closed 2 years ago . I'm trying to get a group of div's (with initial widths) to stretch across a container, expanding their widths when needed. This works great using display:flex, however if it wraps onto a new line, I don't want the items on the new line to stretch if there is any remaining space. I want the new line items to keep the same widths as the other elements in the container. For