在移动端制作固定背景时(利用fixed)会出现滚动条滚动时,背景图会跟着滚动,;
解决办法就是给body加个伪元素。
body:before { content: ' '; position: fixed; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: url(...) center 0 no-repeat; background-size: cover;}