31 lines
540 B
HTML
31 lines
540 B
HTML
<!DOCTYPE html>
|
|
<title>flexbox | min-width: 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-width-auto-ref.html">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
width: 602px;
|
|
}
|
|
div {
|
|
background: #3366cc;
|
|
border: 1px solid black;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
p {
|
|
background: yellow;
|
|
margin: 1em;
|
|
width: 0;
|
|
min-width: auto;
|
|
}
|
|
</style>
|
|
|
|
<div>
|
|
<p>damer</p>
|
|
<p>damer</p>
|
|
<p>damer</p>
|
|
<p>damer</p>
|
|
</div>
|