很棒的 CSS 效果
Anyone have any idea how to do this sort of thing? The animation that moves with your mouse? Thanks for the correction, @Alin. Just a link to a tutorial would be nice.
EDIT: Just also learned it's the parallax effect. That should help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该效果是通过 javascript 完成的,而不仅仅是 CSS。
源代码位于您链接到的页面上。
看看 jParallax,它可以轻松地在您自己的网站上以可靠的方式实现效果:
http://stephband.info/parallax.html
The effect is accomplished with javascript, not just CSS.
The source code is on the page you linked to.
Have a look at jParallax, which makes it easy to implement the effect in a robust way on your own site:
http://stephband.info/parallax.html
我猜你总是可以从启动 FireBug 开始并查看源代码。
Guess you can always start by firing up FireBug and have a look at the source.