Flexbox - display: flex question

If a div has display: flex on it, what does that mean for the children of the div? Are the children inline, or does it simply mean that the children are flex items and it has no bearing on whether the children are inline or block.

This means the children will inherit the ‘flex item’ property. You would then decide what display property (inline / block) to use in conjunction as far as organizing / displaying them.

This might help too:
Usage of Display Property of Flex Box Items - ITCodar

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.