Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
-->
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<meta charset="utf-8">
<style>
.flexContainer {
display: flex;
flex-wrap: wrap;
align-content: stretch; /* Initial value; just here for emphasis */
width: 25px;
height: 60px;
background: yellow;
border: 1px dotted black;
float: left;
margin: 5px;
}
.collapsedItem {
width: 0;
height: 40px;
}
.shortItem {
width: 25px;
height: 10px;
background: purple;
}
.tallItem {
width: 10px;
height: 30px;
background: olive;
}
</style>
</head>
<body>
<div class="flexContainer">
<div class="shortItem"></div>
<div class="collapsedItem"></div>
<div class="tallItem"></div>
</div>
</body>
</html>