Parallax.js是一个轻量级的解决方案,用于创建视差效果。

除了​​支持鼠标/光标手机和平板(陀螺仪运动检测硬件)。

演示地址 :http://wagerfield.github.io/parallax/

下载地址:

百度盘:http://pan.baidu.com/share/link?shareid=488246888&uk=3070429748

.360盘:http://yunpan.cn/QXaGJxbDhEiNJ

parallax.js

Parallax.js是一个轻量级的解决方案,用于创建视差效果。

除了​​支持鼠标/光标手机和平板(陀螺仪运动检测硬件)。

它配备了多个选项,在那里他们可以设置内嵌使用“数据属性”或在JavaScript中自定义的效果。

 

响应您智能设备的方向传感器的超酷动画效果

WOW, that's deep man! parallax.js reacts to the orientation of your smart device, offsetting layers depending on their depth within a scene... Oh, you don't have a smart device? No worries, if no gyroscope or motion detection hardware is available, parallax.jsuses the position of your cursor instead. Radical.

This project is a collaboration between
Matthew Wagerfield & Claudio Guglieri.