flexbox-min-height-auto-001-ref.html (1184B)
1 <!DOCTYPE html> 2 <!-- 3 Any copyright is dedicated to the Public Domain. 4 http://creativecommons.org/publicdomain/zero/1.0/ 5 --> 6 <html> 7 <head> 8 <meta charset="utf-8"> 9 <title>CSS Reftest Reference</title> 10 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> 11 <style> 12 .item { 13 /* Flex items have purple border: */ 14 border: 2px dotted purple; 15 margin-right: 2px; /* (Just for spacing things out, visually) */ 16 float: left; 17 } 18 19 .small { height: 50px; } 20 .big { height: 80px; } 21 22 .item > * { 23 /* Flex items' contents are gray & fixed-size: */ 24 background: gray; 25 width: 10px; 26 height: 80px; 27 } 28 </style> 29 </head> 30 <body> 31 <div class="item small"><div></div></div> 32 <div class="item small"><div></div></div> 33 <div class="item small"><div></div></div> 34 <div class="item small"><div></div></div> 35 <div class="item small"><div></div></div> 36 <div class="item small"><div></div></div> 37 38 <div class="item big"><div></div></div> 39 <div class="item big"><div></div></div> 40 <div class="item big"><div></div></div> 41 </body> 42 </html>