IE,flex layout problems?

<div class="box">
    <div class="top">top</div>
    <div class="mid">mid</div>
    <div class="btm">btm</div>
  </div>

css

.box{
      display: flex;
      flex-direction: column;
      height: 100vh;
    }
    .mid{
      flex: 1;
      background-color: -sharpffc;
    }

the effect is as follows

but if you go to the IE browser, the yellow height in the middle becomes 0? Why? How should I change it? In order to make the middle part automatically increase the height when the content exceeds, and when the content is not enough, it will be covered with a screen (plus head and feet)

Nov.23,2021

what you need is a sticky-footer layout. If you want to be compatible, you can write it differently see here

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb9fe1-2797.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb9fe1-2797.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?