Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> .example { width: 200px; height: 200px; border: 1px solid #c3c3c3; display: -webkit-flex; color:#ffffff; text-align:right; display: flex; -webkit-flex-flow: column wrap-reverse; flex-flow: column wrap-reverse; } .example div { width: 50px; height: 50px; } </style> </head> <body> <h2>Пример свойства flex-flow</h2> <div class="example"> <div style="background-color: #8ebf42;">A</div> <div style="background-color: #1c87c9;">B</div> <div style="background-color: #ccc;">C</div> <div style="background-color: #666;">D</div> <div style="background-color: #4c4a4a;">E</div> <div style="background-color: #c6c4c4;">F</div> </div> </body> </html>