How do I add a background image which will remain sticky, while the text on top of that image will be moving with the web page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do I add a background image which will remain sticky, while the text on top of that image will be moving with the web page?

Sticky background image

7th Sep 2020, 7:02 PM
Dzikamayi Mhete
Dzikamayi Mhete - avatar
2 Answers
+ 2
Thank you, let me check it out.
7th Sep 2020, 9:29 PM
Dzikamayi Mhete
Dzikamayi Mhete - avatar
+ 1
What you are trying to do is called a parallax effect. See this code. https://code.sololearn.com/WUAdbd6f6c6J/
7th Sep 2020, 9:28 PM
Preyas
Preyas - avatar