css scroll changing picture trick

The markup Each image will need it’s only container. I’ve used a header div and a content div. <html> <head> … </head> <body> <div> … </div> <div> … </div> </body> </html> The CSS Now you assign each image as the background image of each div. The positioning should always be the same, and background-attachment should be set…