How to display the flex unit?

how to display (highlighted in red) flex unit as a highlighted blue.
width is equal to the content.
5e11b0bc7d527347404136.jpeg
April 4th 20 at 00:49
2 answers
April 4th 20 at 00:51
Solution
solved: aling-item: flex-start/flex-end parent.
April 4th 20 at 00:53
display: inline-flex but actually from the code depends.

Find more questions by tags CSSFlexbox