parallax.js

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.js uses the position of your cursor instead. Radical.



Tilting is fun!

For the best experience, check out this site on a mobile or tablet equipped with a gyroscope

(iPads are the coolest)

下载代码说明
X关闭

Parallax.js插件实现鼠标响应式云顶之上背景视差动画特效源码

这是一款基于Parallax.js插件实现鼠标响应式云顶之上背景视差动画特效源码。画面中波涛汹涌的海面上矗立着一座灯塔,灯塔左右摇摆,天空中的云朵也呈现出左右摇摆的动画视觉效果。移动鼠标还可见远近场景呈现视差变换的动画特效。建议使用支持HTML5与css3效果较好的火狐(Firefox)或谷歌(Chrome)等浏览器预览本源码。