微妙的背景图像变化 [英] Subtle change of a background-image

查看:102
本文介绍了微妙的背景图像变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试通过google找到一个答案,但暂时没有效果。

I have been trying to find an answer via google for a while now but to no avail.

我在网站上遇到了一个有趣的功能: http:// dicksonfong.com/

I've come across an interesting feature on site: http://dicksonfong.com/

此功能涉及背景图片,当片段通过屏幕时,背景图片会从底部显示。我不能描述它更好,这可能是为什么我没有在谷歌上的点击。

The feature involves the background image, which appears to change from the bottom as a section passes up the screen. I can't describe it any better which is probably why I'm geting no hits on Google.

任何人都能识别这个技巧是什么,以及在哪里可以找到源代码来实现类似的东西?

Can anyone identify what this trick is called and where I can find the source code to implement something similar?

提前感谢。

Simon

推荐答案

Parallax 效果滚动。它看起来非常有创意,在UI和涉及很多东西,它的工作。如果您想开始使用,请点击理想的开始示例

This is called Parallax effect scrolling. It looks very creative in terms of UI and involves a lot of things for it to work. If you want to start off with, Here is an Ideal example for a start.

希望这有助。

这篇关于微妙的背景图像变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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