Balancing Flex Items with flex-wrap: balance
flex-wrap: balance, shipping first in Chrome 150, redistributes wrapped flex items to avoid an orphaned final row. flex-line-count can also request a minimum number of lines without shrinking the container itself. Ahmad Shadeed compares those declarations with container-query widths, conditional clamp math, grouping markup, and pseudo-element breaks, showing how much brittle knowledge the native model removes. The masonry experiment also exposes a constraint: visual columns can diverge from reading order, so accessibility review remains necessary.