multicol-span-all-children-height-001-ref.html (626B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <title>CSS Multi-column Layout Test Reference: Test a multi-column container with percentage height children</title> 5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 7 8 <style> 9 article { 10 width: 400px; 11 height: 200px; 12 outline: 1px solid black; 13 } 14 div { 15 height: 25%; 16 } 17 div.spanner { 18 outline: 1px solid blue; 19 height: 50%; 20 } 21 </style> 22 23 <article> 24 <div>block1</div> 25 <div class="spanner">spanner</div> 26 <div>block2</div> 27 </article> 28 </html>