css里怎么让div的高度随着页面高度自适应

如题所述

<html>
<body>
<div style="position:absolute;width:100%;top:0;bottom:0;backgroung:#000"></div>
</body>
</html>

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答