Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> .flex-container { display: flex; flex-flow: column-reverse wrap; /* Verwenden Sie einen anderen Wert, um das Ergebnis zu sehen. */ background-color: #1c87c9; } .flex-container > div { width: 120px; padding: 5px 0; margin: 5px; background-color: lightgrey; text-align: center; font-size: 35px; } </style> </head> <body> <div class="flex-container"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> </div> </body> </html>