How children's of flexbox got the full height without having height property

in this challenge, I have noticed something strange. let me explain in details
there is a container having the display flex property and it has a height of 600px, and the container has 2 children and they took the full height of their parent how that happened and there is no height property on them

challenge link

1 Like

flex has a default of


Which is saying whatever in the flexbox stretch it to the full height. modify these properties and you can see the difference

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.