假设容器的class为container:

	.container{
		background-image:url(url of background) no-repeat;
		backgorund-size:cover;
		background-position:center;
	}


Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐