inline flez code example
Example: what is inline flex
flex and inline-flex both apply flex layout to children of the container. Container with display:flex behaves like a block-level element itself, while display:inline-flex makes the container behave like an inline element.