背景固定:
1.使用的是background-attachment属性,设置背景图片是否随页面的滚动而移动
2.书写格式:background-attachment:值;
3.scroll 默认值,表示背景图片会随页面的滚动而移动
4.fixed 表示背景图片不会随页面的滚动而移动