html中让背景完全填充容器
假设容器的class为container:.container{background-image:url(url of background) no-repeat;backgorund-size:cover;background-position:center;}
·
假设容器的class为container:
.container{
background-image:url(url of background) no-repeat;
backgorund-size:cover;
background-position:center;
}
更多推荐
已为社区贡献3条内容
所有评论(0)