视差滚动 [英] Parallax Scrolling

查看:153
本文介绍了视差滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能指点我的方向正确?我有一个DIV的背景图片是固定的,但我想它滚动速度较慢,当向下滚动页面。我不是很好用jQuery或CSS3所以要求一些帮助。



提前感谢。

这可能有助于: 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆