Why the flex item have height?
I have the following code example scenario , and I know why content1 cannot scroll (because content_wrap1 does not have its own height,so that height:100% of content1 is not work) , But why can content2 scroll? does a flex item have its own height? <template> <div class="wrap1"> <div class="content_wrap1"> <div class="content1"> <div class="item">123</div> <div class="item">123</div>