summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/reference/flex-item-grid-container-percentage-rows-001-ref.html
blob: 1f4b23952e13511927637e047dd6ecf78d9c73bb (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
26
<!DOCTYPE html>
<style>
.wrapper {
  width: 200px;
  border: 5px solid;
}

.wrapper > div {
  height: 100px;
}

.magenta {
  background: magenta;
}

.cyan {
  background: cyan;
}
</style>

<p>Test passes if you see a 200x200 box with top half cyan and bottom half magenta.</p>

<div class="wrapper">
    <div class="cyan"></div>
    <div class="magenta"></div>
</div>