A flexible layout must have a parent element with the display property set to flex.
Direct child element(s) of the flexible container automatically becomes flexible items.