Description
When items are wrapping onto multiple lines, flex-wrap:balance distributes the content in a way that appears more balanced.
A good overview of this feature can be found here.
Ideally the scope would also include flex-line-count. I guess it’s too early to include max-content-sizing: shrink-to-fit, but I do hope something like that is able to ship soon.
Specification
https://drafts.csswg.org/css-flexbox-2/#flex-wrap-property
web-feature
https://web-platform-dx.github.io/web-features-explorer/features/flexbox-flex-wrap-balance/
Test Links
No response
Additional Signals
This Bluesky post has 768 likes.
This Tweet has 469 likes.
Webkit standards position: no position
Mozilla standards position: positive
Firefox bug
Chrome and Edge have supported this feature since 150.
Description
When items are wrapping onto multiple lines,
flex-wrap:balancedistributes the content in a way that appears more balanced.A good overview of this feature can be found here.
Ideally the scope would also include
flex-line-count. I guess it’s too early to includemax-content-sizing: shrink-to-fit, but I do hope something like that is able to ship soon.Specification
https://drafts.csswg.org/css-flexbox-2/#flex-wrap-property
web-feature
https://web-platform-dx.github.io/web-features-explorer/features/flexbox-flex-wrap-balance/
Test Links
No response
Additional Signals
This Bluesky post has 768 likes.
This Tweet has 469 likes.
Webkit standards position: no position
Mozilla standards position: positive
Firefox bug
Chrome and Edge have supported this feature since 150.