Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example to clarify the sum of flex-grow factors #37359

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

srcengine
Copy link

Description

Modified the examples to clarify summations and flex-grow factors... Specifically, differentiate between the number of grow-factors vs. the sum of the grow-factors.

Motivation

I felt the examples were not exactly correct and required clarification.

Additional details

Technically, I think the growth factor applied to a flex item is equal to the weighted average of all flex-grow factors. Math gurus please check me on this.

Related issues and pull requests

Try to clarify and solidify example and summations...
Specifically, differentiate between the number of grow-factors vs. the sum of the grow-factors.

Please review.
@srcengine srcengine requested a review from a team as a code owner December 24, 2024 15:19
@srcengine srcengine requested review from estelle and removed request for a team December 24, 2024 15:19
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant