3 <link href=
"resources/flexbox.css" rel=
"stylesheet">
9 border:
2px solid orange;
12 flex-direction: column;
20 .flexbox
> :nth-child(
1) {
21 background-color: lightblue;
23 .flexbox
> :nth-child(
2) {
24 background-color: lightgreen;
27 <script src=
"../../resources/check-layout.js"></script>
28 <body onload=
"checkLayout('.flexbox')">
30 <div class=
"container">
31 <div data-expected-height=
100 class=
"flexbox column">
32 <div data-expected-height=
30 data-expected-width=
80 style=
"height: 30px"></div>
33 <div data-expected-height=
50 data-expected-width=
80 style=
"flex: 1;"></div>
37 <div class=
"container">
38 <div class=
"flexbox column wrap">
39 <div data-expected-height=
50 data-expected-width=
40 style=
"height: 50px"></div>
40 <div data-expected-height=
80 data-expected-width=
40 style=
"flex: 1 50px;"></div>