summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/alignment/grid-gutters-016-ref.html
blob: a56ab07e182530ef98292fc4729884302d3bdc9e (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: 140px;
  height: 140px;
  gap: 28px;
}
.grid > div {
  background: green;
}
</style>
<div class="grid">
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>