Skip to content

Commit 7929c3e

Browse files
committed
[css-grid] Clarify where the sole line is aligned when there are no tracks.
1 parent dd672e9 commit 7929c3e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

css-grid/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3120,6 +3120,10 @@ Aligning the Grid: the 'justify-content' and 'align-content' properties</h3>
31203120
</figure>
31213121
</div>
31223122

3123+
If there are no <a>grid tracks</a>
3124+
(the <a>explicit grid</a> is empty, and no tracks were created in the <a>implicit grid</a>),
3125+
the sole <a>grid line</a> in each axis is aligned with the start edge of the <a>grid container</a>.
3126+
31233127
Note that certain values of 'justify-content' and 'align-content'
31243128
can cause the tracks to be spaced apart
31253129
(''justify-content/space-around'', ''justify-content/space-between'', ''justify-content/space-evenly'')

0 commit comments

Comments
 (0)