Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ inputElem.addEventListener("change", changeGridAutoFlow);

{{EmbedLiveSample("Setting_grid_auto-placement", "200px", "260px")}}

In this example, `grid-template` defines four row tracks and two column tracks.
When `grid-auto-flow` is set to `column`, auto-placed items fill each column by filling the rows in turn, then add new columns as needed.
If your grid defines only column tracks, `column` auto-placement creates additional implicit columns instead of wrapping items into the existing columns, and those implicit columns are sized by [`grid-auto-columns`](/en-US/docs/Web/CSS/Reference/Properties/grid-auto-columns).

Comment on lines 189 to +194

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{EmbedLiveSample("Setting_grid_auto-placement", "200px", "260px")}}
In this example, `grid-template` defines four row tracks and two column tracks.
When `grid-auto-flow` is set to `column`, auto-placed items fill each column by filling the rows in turn, then add new columns as needed.
If your grid defines only column tracks, `column` auto-placement creates additional implicit columns instead of wrapping items into the existing columns, and those implicit columns are sized by [`grid-auto-columns`](/en-US/docs/Web/CSS/Reference/Properties/grid-auto-columns).
In this example, `grid-template` defines four row tracks and two column tracks.
When `grid-auto-flow` is set to `column`, auto-placed items fill each column top-to-bottom, then add new columns as needed.
If your grid defines only column tracks, `column` auto-placement creates additional implicit columns instead of wrapping items into the existing columns, and those implicit columns are sized by {{cssxref("grid-auto-columns")}}.
{{EmbedLiveSample("Setting_grid_auto-placement", "200px", "260px")}}

## Specifications

{{Specifications}}
Expand Down