<!DOCTYPE html>
<title>flexbox | min-height: auto</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
body {
	margin: 0;
	width: 602px;
}
div {
	background: #3366cc;
	border: 1px solid black;
}
p {
	background: yellow;
	margin: 1em 1em 2em;
	height: auto;
	min-height: auto;
}
p:last-child {
	margin-bottom: 1em;
}
</style>

<div>
	<p>damer</p>
	<p>damer</p>
	<p>damer</p>
	<p>damer</p>
</div>
