| <!DOCTYPE html> |
| <title>flexbox | flex-direction: row-reverse</title> |
| <link rel="author" href="http://opera.com" title="Opera Software"> |
| <link rel="help" |
| href="http://www.w3.org/TR/css-flexbox-1/#flex-direction-property"> |
| <link rel="match" href="flexbox_direction-row-reverse-ref.html"> |
| <style> |
| * {font-family: monospace;} |
| body { |
| width: 10em; |
| } |
| ul { |
| background: blue; |
| padding: 0; |
| margin: 0; |
| list-style: none; |
| |
| display: flex; |
| flex-direction: row-reverse; |
| } |
| li { |
| color: white; |
| margin: 0; |
| width: 10em; |
| } |
| </style> |
| |
| <ul> |
| <li>IJKL</li> |
| <li>ABCD</li> |
| <li>EFGH</li> |
| </ul> |