0
点赞
收藏
分享

微信扫一扫

CSS让行内元素撑满整个视口


绝对定位之后,top: 0; bottom: 0; left: 0; right: 0;根据盒模型,宽高就是自动的,会让元素撑满

position:absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;


举报

相关推荐

0 条评论