I am trying to create an image, that it will move a little bit, lets say 100px top or bottom, as you scroll down the page.
And only when it’s in the viewport.
So when the user it scrolling bottom it will go a little bit down, the same with the top.
It seems like a parallax effect, but I do not want to hide part of the image, just to be there fully.
Is there anyone that has an idea what it needs to be done?
No I mean when the item is on viewport, it will move up a bit, as I scroll down the page, like a small animation.
But when I go up, the item will go down according to my scrolling.
You could search in YouTube, Parallax Effect by Franks laboratory, he explains very well, even watch his projects about Paralax Effect, its more accessible, watching and thinking the same time