Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Der Titel des Dokuments</title> <style> .example { width: 350px; height: 350px; border: 1px solid #c3c3c3; display: flex; flex-direction: column-reverse; } .example div { width: 70px; height: 70px; } </style> </head> <body> <h2>Ein Beispiel für die Eigenschaft flex-direction</h2> <div class="example"> <div style="background-color: #8ebf42;">A</div> <div style="background-color: #1c87c9;">B</div> <div style="background-color: #eee;">C</div> <div style="background-color: #666;">F</div> </div> </body> </html>