A flexible layput must have a parent element withthe displayproperty set to flex.
direct child elements(S) of the flex ble container automatically become flexible items.