フレックスボックスのレイアウト行がブラウザウィンドウの残りの垂直方向のスペースを消費することをどのように確認できますか
3列のフレックスボックスレイアウトがあります。最初の2行は固定の高さですが、3行目は動的であり、ブラウザーの高さいっぱいまで拡大したいと思います。

列3を作成する行3に別のフレックスボックスがあります。これらの列内の要素を適切に調整するには、背景色やベースでのアイテムの配置などについて、ブラウザーの高さ全体を理解する必要があります。主要なレイアウトは、最終的には次のようになります。

.vwrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    //height: 1000px;
}
.vwrapper #row1 {
    background-color: red;
}
.vwrapper #row2 {
    background-color: blue;
}
.vwrapper #row3 {
    background-color: green;
    flex 1 1 auto;
    display: flex;
}
.vwrapper #row3 #col1 {
    background-color: yellow;
    flex 0 0 240px;
}
.vwrapper #row3 #col2 {
    background-color: orange;
    flex 1 1;
}
.vwrapper #row3 #col3 {
    background-color: purple;
    flex 0 0 240px;
}<body>
    <div class="vwrapper">
        <div id="row1">
            this is the header
        </div>
        <div id="row2">
            this is the second line
        </div>
        <div id="row3">
            <div id="col1">
                col1
            </div>
            <div id="col2">
                col2
            </div>
            <div id="col3">
                col3
            </div>
        </div>
    </div>
</body>height属性を追加しようとしましたが、これをハード番号に設定すると機能し100%ますが、に設定すると機能しません。height: 100%コンテンツがブラウザーウィンドウいっぱいに表示されないため、機能しないことを理解しましたが、フレックスボックスレイアウトを使用してアイデアを再現できますか?