Skip to content

Commit f49722e

Browse files
committed
[css-grid] Clarify that grid-gap does nothing on a subgrid.
1 parent bc88e5b commit f49722e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

css-grid/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2370,6 +2370,11 @@ Establishing Subgrids: the ''subgrid'' 'display' value</h3>
23702370
and the <a>grid item's</a> own position.
23712371
</div>
23722372

2373+
<li>
2374+
The 'grid-gap' properties do not apply to subgrids.
2375+
(Their items are instead spaced by the 'grid-gap' of their parent grid,
2376+
since they are laid out in the parent grid.)
2377+
23732378
<li>
23742379
The <a>subgrid</a> does not have any <a>implicit grid tracks</a>;
23752380
every <a>grid area</a> within it is <a>clamped</a> to its <a>explicit grid</a>.

0 commit comments

Comments
 (0)