Skip to content

Commit 498d60d

Browse files
committed
[css-grid] Expand issue with proposal.
1 parent d479b96 commit 498d60d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

css-grid/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,9 @@ Repeating Rows and Columns: the ''repeat()'' notation</h4>
11561156

11571157
Issue: François suggests a way to generate "just enough" repeated columns for the number of items in the grid.
11581158
<a href="https://lists.w3.org/Archives/Public/www-style/2015May/0113.html">(see discussion)</a>
1159+
One proposal is to have two keywords instead of just one ''repeat()/auto'' keyword:
1160+
<css>auto-fill</css> to fill the grid with repetitions,
1161+
and <css>auto-fit</css> to fill the grid and then drop empty repetitions.
11591162

11601163
<div class='example'>
11611164
This example shows two equivalent ways of writing the same grid definition.

0 commit comments

Comments
 (0)