body{background:url(图片地址)
center
top
repeat
#ffffffbackground-attachment:fixedoverflow:scrolloverflow-x:hidden}
LZ说的那个不是.CSS文件,而是在HTML里面加入了CSS样式。.CSS是指单独的样式文件,使用的时候需要用<link href="css/css.css" type="text/css" rel="stylesheet">这样的格式导入。body{background:url(图片地址)
center
top
repeat
#ffffffbackground-attachment:fixedoverflow:scrolloverflow-x:hidden}
LZ说的那个不是.CSS文件,而是在HTML里面加入了CSS样式。.CSS是指单独的样式文件,使用的时候需要用<link href="css/css.css" type="text/css" rel="stylesheet">这样的格式导入。