Becky
Becky

Reputation: 2275

Image that adjusts its height when page is scrolling down

I am looking for an effect that I have seen on numerous occasions and that can be seen on the second image on this website:

https://www.daviseyecenter.com/

The effect I am referring to is how the image moves down so that you can see more of the top part of the image. What exactly is this called and how would I go about replicating this effect?

Upvotes: 0

Views: 40

Answers (1)

DerekK
DerekK

Reputation: 61

I believe what you are looking for is a parallax effect or more specifically parallax scrolling.

I see you have a jQuery tag, here is a link to a jQuery parallax scrolling plugin. That page has demos of the effect as well as explanations for how to add the effect to your own site.

Upvotes: 2

Related Questions