A Flexible Layout must have a parent element with the display property set to flex.
Direct child elements of the flexible container automatically becomes flexible items.