0

I'm getting a weird behavior using flex.

It looks like when I use display: flex, its children behave like to have display: inline-block property.

It looks like the children of a flex container expand their width to fit the content of their sub items...

Here is the codePen

How could I avoid this "inline-block behavior" using flex?

Thanks!!

user2010955
  • 3,871
  • 7
  • 34
  • 53

0 Answers0