版权声明:未经本人同意不得私自转载 https://blog.csdn.net/qq_40190624/article/details/88313839
body{
/* css3背景图缩写 */
background: #eee url('xs.png') no-repeat fixed 50% 50%;
/*相当于
backgorund-color:#eee
background-images: url('xs.png')
background-repeat:no-repeat
background-attachment: scroll//背景图像会随着页面其余部分的滚动而移动
background-position:50% 50% ;
*/
}