multi-line-wrap-with-column-reverse-ref.html (1182B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test Reference: flex container multiline wrapping in column-reverse direction</title> 5 <link rel="author" title="tmtysk" href="mailto:tmtysk@gmail.com"> 6 <link rel="reviewer" title="Tab Atkins" href="mailto:jackalmage@gmail.com"> 7 <style> 8 * { margin:0; padding:0; font-size:100%; line-height:1; } 9 10 .test { 11 width: 300px; 12 float: left; 13 width: 33.3333%; 14 } 15 16 p { 17 margin-top: 10px; 18 margin-right: 10px; 19 background: #ccc; 20 } 21 22 #row1-col1 { 23 height: 90px; 24 } 25 26 #row1-col2 { 27 height: 90px; 28 } 29 30 #row1-col3 { 31 height: 90px; 32 } 33 34 #row2-col1 { 35 height: 140px; 36 } 37 38 #row2-col2 { 39 height: 140px; 40 } 41 42 #row3-col1 { 43 height: 290px; 44 } 45 46 .clear { 47 clear: both; 48 } 49 50 </style> 51 </head> 52 <body> 53 <div class="test"> 54 <p id="row1-col1">1-1</p> 55 <p id="row1-col2">1-2</p> 56 <p id="row1-col3">1-3</p> 57 </div> 58 <div class="test"> 59 <p id="row2-col1">2-1</p> 60 <p id="row2-col2">2-2</p> 61 </div> 62 <div class="test"> 63 <p id="row3-col1">3-1</p> 64 </div> 65 <div class="clear"></div> 66 </body> 67 </html>