Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .example { width: 200px; height: 200px; border: 1px solid #c3c3c3; display: -webkit-flex; display: flex; -webkit-flex-flow: row-reverse nowrap; flex-flow: row-reverse nowrap; } .example div { width: 50px; height: 50px; } </style> </head> <body> <h2>Flex-flow property example</h2> <div class="example"> <div style="background-color: #8ebf42;">A</div> <div style="background-color: #1c87c9;">B</div> <div style="background-color: #cccccc;">C</div> <div style="background-color: #666666;">D</div> <div style="background-color: #4c4a4a;">E</div> <div style="background-color: #c6c4c4;">F</div> </div> </body> </html>