Skip to content

flex-wrap: balance #1350

Description

@o-t-w

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions