Re: [csswg-drafts] [css-grid] Manage GRID cell as FLEX. (#6714)

As far as I can tell, what you're asking for is already provided by the [`grid-auto-flow` property](https://drafts.csswg.org/css-grid/#grid-auto-flow-property) - any grid items that aren't explicitly placed can instead automatically flow into grid cells one-by-one, and you can control whether they flow in a column-first direction (vertically until they run out of cells, then starting a new column) or row-first (horizontally, then starting a new row).

If you don't know how many items you'll have, and thus don't know how many extra rows/columns might be needed, you can use [`grid-auto-rows`/`-columns`](https://drafts.csswg.org/css-grid/#auto-tracks) to control the size of the *implicit* rows/columns that get auto-created for you.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6714#issuecomment-933701745 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 4 October 2021 17:32:50 UTC