CSS · Properties — CSS Grid Layout

grid-auto-flow

The CSS grid-auto-flow property. Initial value: row. Not inherited.

Syntax
grid-auto-flow: [ row | column ] || dense

Example

Try it

Notes

Media: visual. Applies to: gridContainers. Computed value: asSpecified.

More in this group

grid-area grid-auto-columns grid-auto-rows grid-column-end grid-column-start grid-row-end grid-row-start grid-template

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course