Reputation: 1017
So I've noticed a style used in a few designs lately that gives the appearance of static background images with a content overlay that reveals and hides the images on scroll. It's difficult to describe the effect but you can see it here and here. It's almost like there is two layers to the design. Any tips on how to achieve this?
Upvotes: 0
Views: 312
Reputation: 1146
I think this may help as well curtain.js its not maintained anymore, but its a great plugin still if you look at the demo sites!
Upvotes: 1
Reputation: 18843
If you want to do this with javascript - You could look into the stellar.js library. You use it with jQuery to handle parallax scrolling for elements or backgrounds or both.
http://markdalgleish.com/projects/stellar.js/
It will help you handle parallax scrolling and keeps certain functionality for mobile devices.
Upvotes: 1