August 1st, 2013, 09:43 AM
Desired scroll effect – Burning Candle
I’ve been looking all over the web for an example or some insight on how to do this. What I want is to know if there is an easy way to have a background image on a site move down as you scroll down? The image I am going to be using is a candle. So as you work your way to the bottom of the page the candle burns through all of the wax. The only way I can think of is to increase a top margin on an image of the burning wick and then at the end I’ll have the image swap out to an extinguished wick. Sorry for such a large question, I’m brand new to CSS.
Thank you in advance.