Parallax Scrolling
I want to make a webpage in layers that scroll at different speeds. The most convenient way for adding my content would be if each layer was a div element that scrolled at it's own speed, and they all overlapped. How could I do this? I am fairly competent with JavaScript, but the CSS layering and positioning sometimes confuse me. I just can't work out how to make it. To explain what I want, here's what my HTML might look like. <div id="1">Hello</div> <div id="2">Hello</div> <div id="3">Hello</div> At the start, all three hellos should be perfectly overlapping so I can only see the top one. Then, when I scroll down, each one will move at a different speed, so I will be able to see them all. They will get farther and farther apart as I scroll. But I must be able to scroll back up. Thank you.