设置背景图片铺满整个屏幕
方案一
bgc {
background-image: url(../image.ipg);
position:absolute;
left:0;
right:0;
bottom:0;
top:0;
}
方案二
position absolute
width 100vw
height 100vh
background-repeat no-repeat
background-size cover
background-position 50%
background-image url('/static/img.jpg')