视差滚动 [英] Parallax Scrolling
本文介绍了视差滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
提前感谢。
这可能有助于: http://stephband.info/jparallax/
它将节点变成绝对定位的层,响应鼠标移动。
Can anyone point me in the right direction? I have a DIV with a background image that is fixed, but I'd like it to scroll at a slower rate when scrolling down the page. I'm not great with jQuery or CSS3 so asking for some help.
Thanks in advance.
解决方案
This may help: http://stephband.info/jparallax/ It turns nodes into absolutely positioned layers that move in response to the mouse.
这篇关于视差滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文