blob: bdd084d7b99a319599533c3e27ea3b7c04bfbf03 [file] [log] [blame]
<!DOCTYPE html>
<title>flexbox | min-height: auto</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#min-size-auto">
<link rel="match" href="flexbox_min-height-auto-ref.html">
<style>
body {
margin: 0;
width: 602px;
}
div {
background: #3366cc;
border: 1px solid black;
display: flex;
flex-wrap: wrap;
flex-direction: column;
}
p {
background: yellow;
margin: 1em;
height: 0;
min-height: auto;
}
</style>
<div>
<p>damer</p>
<p>damer</p>
<p>damer</p>
<p>damer</p>
</div>