| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>CSS Test: flex order</title> |
| <link rel="author" title="Mitsuteru Sawa" href="mailto:mitsuteru.s@gmail.com"> |
| <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#order-property"> |
| <link rel="match" href="flex-order-ref.html"> |
| <meta name="assert" content="ordered flex items should ordered properly"> |
| <style> |
| #container { |
| display: -webkit-flex; |
| } |
| #lowOrdinal { |
| -webkit-order: 3; |
| background: red; |
| height: 100px; width: 100px; |
| } |
| #highOrdinal { |
| -webkit-order: 1; |
| background: lime; |
| height: 100px; width: 100px; |
| } |
| #middleOrdinal { |
| -webkit-order: 2; |
| background: orange; |
| height: 100px; width: 100px; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="container"> |
| <div id="highOrdinal"></div> |
| <div id="lowOrdinal"></div> |
| <div id="middleOrdinal"></div> |
| </div> |
| </body> |
| </html> |