Guy*_*yer 8 css background parallax
我已经看到很多解决方案用于parallaxing分层div或带有背景图像的部分...我希望有人有一个现有插件的解决方案或知识,用于parallaxing具有多个CSS背景的div /部分,例如:
background: url(foo.png), url(foo2.png), url(foo3.png);
background-position: x x, x x, x x;
Run Code Online (Sandbox Code Playgroud)
( Stellar.js) http://markdalgleish.com/projects/stellar.js/ ---> 这是一个专门用于视差多个 CSS 背景的 javascript 库。示例 --> http://markdalgleish.com/projects/stellar.js/demos/backgrounds.html
这可能会对您的答案有所帮助。干杯!