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/grid-lanes/subgrid/grid-subgridded-to-grid-lanes/gap/column-subgrid-grid-gap-009.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>CSS Grid Lanes Test: column-direction subgrid with empty tracks and column gap</title>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="column-subgrid-grid-gap-009-ref.html">
</head>
<body>
<div style="display:grid-lanes; grid-template-columns: auto 200px; width: 200px">
<div style="display:grid; grid-template-columns: subgrid; gap: 100px; grid-column: span 2">
<div style="width:100px; height: 100px; background-color: blue; grid-column: 2"></div>
</div>
</div>
</body>
</html>