How I achieve an effect like Janne.me ?
When you scroll the page a background image come up, but then the image stop and just the content text continue scrolling, then, when the content text scoll up, another image starting coming up with her paragraph.
Any Idea on how i could "stop" the image for a certain "time"?
Thanks
This effect is called parallax. There are several good libraries that can help you do this:
Alternatively this can be done with pure CSS, as the ever awesome David Walsh has outlined here: https://davidwalsh.name/parallax
Hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.