1
试图将空状态置于app-header
以下。我希望它占据整个屏幕的全宽和全高(减去app-header
的高度)。全宽度和高度空状态?
到目前为止,我有这个,但它似乎并没有工作:
<app-header-layout>
<app-header>
.....
</app-header>
<div id="empty-state" style="width: 100%; height: 100%; background: #F00; white-space: nowrap;">
.....
</div>
</app-header-layout>
仍然没有去。空状态具有我想要的全部宽度,但不是我想要的高度。
请帮我一把。
参见[这个问题](http://stackoverflow.com/questions/90178/make-a-div-fill-the-height-of-the-remaining -screen空间) – chester