Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-grid/subgrid/grid-gap-011.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>CSS Grid Test: Subgrids with column gap larger than the track size</title>
<link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
<link rel="match" href="grid-gap-011-ref.html">
</head>
<body>
<div style="display:grid; grid-template-columns: 100px 100px 100px; width: 300px">
<div style="display:grid; grid-template-columns: subgrid; gap: 150px; grid-column: span 3">
<div style="width:100px; height: 100px; background-color: blue; grid-column: 2"></div>
<div style="width:100px; height: 100px; background-color: blue; grid-column: 3"></div>
</div>
</div>
</body>