From 1fbb501c782e4066b37795ceccf51e1b55a53e7c Mon Sep 17 00:00:00 2001 From: Yesenia L Date: Wed, 3 Mar 2021 14:54:15 -0500 Subject: [PATCH] flex-box --- index.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.css b/index.css index e816081..4aab814 100644 --- a/index.css +++ b/index.css @@ -1,17 +1,26 @@ +body { + display: flex; + flex-direction: row; + justify-content: space-between; + flex-wrap: wrap; +} .red { width: 150px; height: 150px; background-color: red; + order: 1; } .blue { width: 150px; height: 150px; background-color: blue; + order: 3; } .yellow { width: 150px; height: 150px; background-color: yellow; + order: 2; }