Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flexbox_align-items-stretch-2.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>flexbox | align-items: stretch</title>
<link rel="match" href="flexbox_align-items-stretch-2-ref.html">
<style>
div {
background: black;
margin: 1em 0;
width: 30em;
height: 6em;
display: flex;
align-items: stretch;
}
span {
width: 8em;
display: inline-block;
flex: none;
}
span:nth-child(1) {
margin-top: 6em;
}
</style>
<div>
<span>PASS</span>
<span></span>
<span>x</span>
</div>