body {
/*背景颜色*/
background-color:#990505;
/*背景图片url,可与上一项同时使用*/
background-image: url(https://www.pipishe.com/pipishe.jpg);
/*背景图片重复方式,此处为不重复*/
background-repeat: no-repeat;
/*背景图片起始位置,此处为居中*/
background-position: center;
/*背景图片尺寸,此处为填充模式*/
background-size: cover;
/*背景图片是否滚动,此处为不滚动*/
background-attachment: fixed;
}