背景图全屏
2020-06-02 本文已影响0人
年少的欢喜卐
代码如下:
header{
background: #333333 url("https://source.unsplash.com/collection/190727/1600x900") no-repeat center center/cover;
height: 100vh;
}
代码如下:
header{
background: #333333 url("https://source.unsplash.com/collection/190727/1600x900") no-repeat center center/cover;
height: 100vh;
}