7 background-color: #aaa;
9 flex-wrap: wrap-reverse;
10 align-items: baseline;
17 .flexbox :nth-child(
1) {
18 background-color: lightblue;
20 .flexbox :nth-child(
2) {
21 background-color: lightgreen;
23 .flexbox :nth-child(
3) {
24 background-color: pink;
26 .flexbox :nth-child(
4) {
27 background-color: yellow;
31 <p>Test to make sure that wrap-reverse flips the cross axis directions and items
32 with baseline alignment are aligned to cross axis start.
</p>
35 <div style=
"flex: 1 0 100px;">first
<br>first
<br>first
</div>
36 <div style=
"flex: 1 0 100px;">second
</div>
37 <div style=
"flex: 1 0 100px; margin-top: 5px">third
</div>
38 <div style=
"flex: 1 0 100px;">fourth
<br>fourth
</div>
42 <div style=
"flex: 1 0 100px;">first
<br>first
<br>first
</div>
43 <div style=
"flex: 1 0 100px;">second
</div>
44 <div style=
"flex: 1 0 100px;">third
</div>
45 <div style=
"flex: 1 0 100px; margin-bottom: 5px">fourth
<br>fourth
</div>
48 <div class=
"flexbox" style=
"width: 300px;">
49 <div style=
"flex: 1 0 100px; align-self: flex-start; height: 100px">first
</div>
50 <div style=
"flex: 1 0 100px;">second
</div>
51 <div style=
"flex: 1 0 100px;">third
<br>third
</div>