5 background-color: lightgrey;
6 align-items: flex-start;
9 border:
1px solid green;
14 This example is from the spec. There should be four flex items. Anonymous item
3 shouldn't have
15 a green border because the anonymous block is the flex item.
17 <div id=
"flexbox" style=
"display: flex">
19 <!-- flex item: block child -->
20 <div id=
"item1">block
</div>
22 <!-- flex item: floated element; floating is ignored -->
23 <div id=
"item2" style=
"float: left;">float
</div>
25 <!-- flex item: anonymous block box around inline content -->
28 <!-- flex item: inline child -->
31 <!-- flex items do not split around blocks -->
32 <div id=not-an-item
>item
4</div>