CSS多个背景以不同的速度滚动 [英] CSS multiple backgrounds scrolling at different speeds

查看:119
本文介绍了CSS多个背景以不同的速度滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天遇到这个网站,我很抱歉: http://www.actionbutton.net/

I came across this website today and I was mystified: http://www.actionbutton.net/

他使用某种已知的技术为他的背景,以不同的速度滚动和相互重叠。我看着源,但很困惑。

Is he using some kind of known technique for his backgrounds that scroll at a different rate and overlap each other. I looked at the source but am pretty confused. Does anyone know what the technique is called and how to learn it?

推荐答案

调用 parallax

It's call parallax there's plenty of plugin for this e.g. http://www.ianlunn.co.uk/plugins/jquery-parallax/

这篇关于CSS多个背景以不同的速度滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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