0

I'm studying css flexbox.

I found this example of usage of flexbox.

If I delete .cards__item { display: flex; }(line:32). the height of card is shrink!.

And I can't understand why .cards__item { display: flex; } make height of all .cards__item same.

Is this just a rule to remember ?

Temani Afif
  • 211,628
  • 17
  • 234
  • 311
Byeongin Yoon
  • 2,307
  • 4
  • 21
  • 38

0 Answers0