multi-line-wrap-reverse-column-reverse-ref.html (1410B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test Reference: flex container multiline wrapping-reverse 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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 8 <style> 9 * { margin:0; padding:0; font-size:100%; line-height:1; font-family: Ahem; } 10 11 .test { 12 width: 300px; 13 float: left; 14 width: 33.3333%; 15 } 16 17 p { 18 margin-top: 10px; 19 margin-right: 10px; 20 background: #ccc; 21 } 22 23 #row1-col1 { 24 height: 90px; 25 color: orange; 26 } 27 28 #row1-col2 { 29 height: 90px; 30 color: green; 31 } 32 33 #row1-col3 { 34 height: 90px; 35 color: blue; 36 } 37 38 #row2-col1 { 39 height: 140px; 40 color: yellow; 41 } 42 43 #row2-col2 { 44 height: 140px; 45 color: magenta; 46 } 47 48 #row3-col1 { 49 height: 290px; 50 color: cyan; 51 } 52 53 .clear { 54 clear: both; 55 } 56 57 </style> 58 </head> 59 <body> 60 <div class="test"> 61 <p id="row1-col1">1-1</p> 62 <p id="row1-col2">1-2</p> 63 <p id="row1-col3">1-3</p> 64 </div> 65 <div class="test"> 66 <p id="row2-col1">2-1</p> 67 <p id="row2-col2">2-2</p> 68 </div> 69 <div class="test"> 70 <p id="row3-col1">3-1</p> 71 </div> 72 <div class="clear"></div> 73 </body> 74 </html>