layout-algorithm_algo-cross-line-002-ref.html (704B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Flex-basis Test</title> 5 <link rel="author" title="Tomek Wytrebowicz" href="mailto:tomalecpub+github@gmail.com"> 6 <style type="text/css"> 7 .flex { 8 width: 200px; 9 height: 200px; 10 } 11 12 .flex > * { 13 background: green; 14 height: 100px; 15 width: 200px; 16 overflow: scroll; 17 } 18 </style> 19 </head> 20 <body> 21 <p>Test passes if there is a filled green square with scrollbars and <strong>no red</strong>.</p> 22 23 <div class="flex"> 24 <div></div><div></div> 25 </div> 26 </body> 27 </html>