grid-gap-011.html (741B)
1 <!DOCTYPE HTML> 2 <html><head> 3 <meta charset="utf-8"> 4 <title>CSS Grid Test: Subgrids with column gap larger than the track size</title> 5 <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com"> 6 <link rel="help" href="https://drafts.csswg.org/css-grid-2"> 7 <link rel="match" href="grid-gap-011-ref.html"> 8 </head> 9 <body> 10 <div style="display:grid; grid-template-columns: 100px 100px 100px; width: 300px"> 11 <div style="display:grid; grid-template-columns: subgrid; gap: 150px; 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> 16 17 </body>