11智能在线
新记
css里怎么让div的高度随着页面高度自适应
如题所述
举报该文章
相关建议 推荐于2017-09-09
<html>
<body>
<div style="position:absolute;width:100%;top:0;bottom:0;backgroung:#000"></div>
</body>
</html>
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/f8vqmqv288fpmvmq72.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
div+css的一个问题:怎么让DIV自动适应高度
DIV CSS 如何让网页中的某DIV自动适应屏幕高度自己变...
css设置div高度,但div的高度无法自适应内容
怎么让div的高度自适应屏幕的高度
如何定义css样式,让背景色的高度随页面高度而定
怎样让一个div高度自适应浏览器高度
div css布局网页如何实现网页自动适应屏幕高度和宽度
CSS怎么实现div随着网页的大小变化而变化呢?