diff --git a/live-examples/css-examples/flexbox/order.css b/live-examples/css-examples/flexbox/order.css index 71ccec7a2..0ca64249f 100644 --- a/live-examples/css-examples/flexbox/order.css +++ b/live-examples/css-examples/flexbox/order.css @@ -1,12 +1,14 @@ .default-example { max-height: 300px; display: flex; + flex-flow: column; } .default-example > div { background-color: rgba(0, 0, 255, 0.2); border: 3px solid blue; - margin: 10px; + margin: 0.5rem; + padding: 0.5rem; flex: 1; } @@ -14,3 +16,13 @@ background-color: rgba(255, 0, 200, 0.2); border: 3px solid rebeccapurple; } + +#example-element::after { + content: attr(style); + background: #444; + font-family: monospace; +} + +code { + background: #444; +} diff --git a/live-examples/css-examples/flexbox/order.html b/live-examples/css-examples/flexbox/order.html index 87bd822e3..68df0766a 100644 --- a/live-examples/css-examples/flexbox/order.html +++ b/live-examples/css-examples/flexbox/order.html @@ -1,27 +1,27 @@
-
order: 3;
+
order: 0;
-
order: -1;
+
order: 3;
-
order: 2;
+
order: -1;
-
order: 4;
+
order: 2;
@@ -30,10 +30,10 @@