grid-gap-012.html (857B)
1 <!DOCTYPE HTML> 2 <meta charset="utf-8"> 3 <title>CSS Grid Test: Subgrids with column gap larger than 2x the track size</title> 4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1841297"> 7 <link rel="help" href="https://drafts.csswg.org/css-grid-2/#subgrid-item-contribution"> 8 <link rel="match" href="grid-gap-012-ref.html"> 9 10 <div style="display: grid; grid-template-columns: 100px 100px 100px; width: 300px"> 11 <div style="display: grid; grid-template-columns: subgrid; gap: 250px; grid-column: span 3"> 12 <div style="width: 100px; height: 100px; background-color: blue; grid-column: 2"></div> 13 <div style="width: 100px; height: 100px; background-color: blue; grid-column: 3"></div> 14 </div> 15 </div>