[英]Stellar vertical offset - background scrolls down creating a whitespace
I have searched and researched stackoverflow but couldn't find any good answer that might help me. 我已经搜索并研究了stackoverflow,但找不到任何可能对我有帮助的好答案。
I am using stellar.js to create parallax backgrounds, but sometimes as I scroll the page, the background goes down, creating a white space (instead of creating the parallax effect). 我正在使用stellar.js创建视差背景,但是有时在滚动页面时,背景会下降,从而形成空白(而不是创建视差效果)。
Here is a preview of the image with explanation: 这是图像的预览,并带有说明:
http://s30.postimg.org/owb86e3bk/stellar.jpg http://s30.postimg.org/owb86e3bk/stellar.jpg
Any ideas would be great. 任何想法都很棒。 Thanks.
谢谢。
$.stellar({
horizontalScrolling:false
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.