top-值为 距离 上面的值。 一般 上面是有个header 我这个header 高度80 所以 top:80
position: absolute;
width: 100%;
top: 80px;
left: 0;
bottom: 0;
background: #aaaaaa70;
css 元素自动撑满屏幕
猜你喜欢
转载自blog.csdn.net/Tom__cy/article/details/106237033
今日推荐
周排行