Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-grid/grid-lanes/alignment/column-fill-reverse-align-items-stretch-indefinite-size-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Grid Lanes Test: `align-items: stretch` with `fill-reverse` in column direction and indefinite stacking-axis size</title>
<link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com">
<link rel="match" href="column-fill-reverse-align-items-stretch-indefinite-size-001-ref.html">
<style>
html, body {
color: black; background-color: white; font: 16px/1 monospace; padding: 0; margin: 0;
}
.grid-lanes {
display: grid-lanes;
grid-template-columns: repeat(2, 80px);
grid-lanes-direction: column fill-reverse;
align-items: stretch;
padding: 2px;
margin: 5px 5px 30px 5px;
border: 1px solid;
}
item {
display: block;
color: white;
}
</style>
</head>
<body>
<div class="grid-lanes">
<item style="height: 60px; background: #f4a0a0;">1</item>
<item style="height: 20px; background: #2ca02c; grid-column: 2;">2</item>
<item style="background: #aad4f5; grid-column: 2;">3</item>
</div>
</body>
</html>