如何在bootstrap网格中设置顶行的高度?

bri*_*nch 8 twitter-bootstrap twitter-bootstrap-3

我有一个容器,我想使用引导网格分成两个水平行.

顶行应占据高度的80%,其余部分占底部.

<div class="container-fluid">
    <div class="row" style="height:80%">
        <div class="col-xs-12">This should take up 80% of the height</div>
    </div>

    <div class="row">
        <div class="col-xs-12">This should take up the remaining 20% of the height</div>
    </div>
</div>
Run Code Online (Sandbox Code Playgroud)

我尝试将高度:80%作为内联样式添加到第一行,但它没有任何效果.

我在这里错过了什么?

DRC*_*DRC 9

body, html, .container-fluid {
     height: 100%;
}
Run Code Online (Sandbox Code Playgroud)

一个例子:http: //jsfiddle.net/wqkLodb6/