6 background-color: #aaa;
9 flex-direction: column;
11 align-content: flex-start;
16 .flexbox :nth-child(
1) {
17 background-color: lightblue;
19 .flexbox :nth-child(
2) {
20 background-color: lightgreen;
22 .flexbox :nth-child(
3) {
23 background-color: pink;
25 .flexbox :nth-child(
4) {
26 background-color: yellow;
30 <p>Test to make sure that multiline column flexboxes shrink-to-fit properly.
</p>
33 <div style=
"width: 100px; height: 20px"></div>
34 <div style=
"width: 100px; height: 10px"></div>
35 <div style=
"width: 100px; height: 10px"></div>
36 <div style=
"width: 100px; height: 20px"></div>
38 <p style=
"clear:left">The grey background should be
100px wide.
</p>
40 <div class=
"flexbox" style=
"height: 30px">
41 <div style=
"width: 100px; height: 20px"></div>
42 <div style=
"width: 100px; height: 10px"></div>
43 <div style=
"width: 100px; height: 10px"></div>
44 <div style=
"width: 100px; height: 20px"></div>
46 <p style=
"clear:left">The grey background should be
100px wide.
</p>
48 <div style=
"width: 150px">
50 <div style=
"width: 100px; height: 20px"></div>
51 <div style=
"width: 100px; height: 10px"></div>
52 <div style=
"width: 100px; height: 10px"></div>
53 <div style=
"width: 100px; height: 20px"></div>
56 <p style=
"clear:left">The grey background should be
100px wide.
</p>
58 <div style=
"width: 150px">
59 <div class=
"flexbox" style=
"height: 35px">
60 <div style=
"width: 100px; height: 20px"></div>
61 <div style=
"width: 100px; height: 10px"></div>
62 <div style=
"width: 100px; height: 10px"></div>
63 <div style=
"width: 100px; height: 20px"></div>
66 <p style=
"clear:left">The grey background should be
100px wide and
5px should
67 stick out the bottom.
</p>