summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/masonry/tentative/item-placement/masonry-item-placement-008-ref.html
blob: f3503bf071131f396111956dcc0ebddf5e9bd051 (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
27
28
<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <title>CSS Grid Test: Masonry item placement w/ Images</title>
  <link rel="author" title="Brandon Stewart" href="mailto:brandonstewart@apple.com">
  <link rel="help" href="https://drafts.csswg.org/css-grid-3">
</head>

<body>
<style>
grid {
  display: inline-grid;
  grid-template-columns: 400px;
}

img {
  width: 100%;
  height: auto;
  background-color: cyan;
}
</style>

<grid>
    <img width="400" height="400" />
</grid>

</body>
</html>