summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/alignment/grid-gutters-015-ref.html
blob: dd4d8daf6a30c0536b0bd3a291c4207be5ac7830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<style>
.grid {
  display: grid;
  padding: 10px;
  grid-template-columns: 40px 40px;
  grid-template-rows: 40px 40px;
  border: solid;
  width: 80px;
  height: 80px;
  gap: 16px;
}
.grid > div {
  background: green;
}
</style>
<div class="grid">
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>