summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/alignment/grid-gutters-016.html
blob: 163787cfee6a9762ec018bd05ee2d3d7b4273114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/css-grid-1/#gutters">
<link rel="help" href="https://www.w3.org/TR/css-align-3/#gaps">
<link rel="match" href="grid-gutters-016-ref.html">
<style>
.grid {
  display: inline-grid;
  padding: 10px;
  grid-template-columns: 40px 40px;
  grid-template-rows: 40px 40px;
  border: solid;
  gap: 20%;
  min-width: 140px;
  min-height: 140px;
}
.grid > div {
  background: green;
}
</style>
<div class="grid">
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>