Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout
What specific section or headline is this issue about?
Implicit and explicit grids
Track Sizing and minmax
What information was incorrect, unhelpful, or incomplete?
Statement 1 (Implicit and explicit grids): These tracks will be auto-sized by default, resulting in their size being based on the content that is inside them.
Statement 2 (Track Sizing and minmax): Setting auto as the maximum value means the size will stretch to fit the content, sizing the row based on the cell with the tallest content.
What did you expect to see?
Statement 1: The size of implicit tracks (with default auto sizing) is not only based on their content, but also significantly influenced by the available free space within the grid container. The "auto" keyword is a flexible unit that tries to accommodate content while also filling space.
Statement 2: Setting auto as the maximum value allows the track to grow to accommodate its content (up to its max-content size) and also to share any available free space within the grid container.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/css/css_grid_layout/basic_concepts_of_grid_layout
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/css_grid_layout/basic_concepts_of_grid_layout/index.md
- Last commit: dc3adee
- Document last modified: 2025-05-05T10:35:58.000Z