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