summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/subgrid/grid-gap-010.html
blob: 23d67b95dd9a4e4cdb1ba8241b2ebd2e8ebb93a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE HTML>
<html><head>
  <meta charset="utf-8">
  <title>CSS Grid Test: Subgrids with empty tracks and column gap</title>
  <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
  <link rel="help" href="https://drafts.csswg.org/css-grid-2">
  <link rel="match" href="grid-gap-010-ref.html">
</head>
<body>
<div style="display:grid; 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>