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
  • 245,468
  • 26
  • 309
  • 415
Byeongin Yoon
  • 3,233
  • 6
  • 26
  • 44

0 Answers0