I\'m looking to recreate an effect similiar to the popular science app. Basically have one big background image and then have HTML/CSS layer on top of that. When the user sc
I'm not that profi one, but I've solved this problem usin' jquery. It's quite simple) Here is the code:
jQuery(window).scroll(function(){ var fromtop = jQuery(window).scrollTop(); jQuery(" your element ").css({"background-position-y": fromtop+"px"}); });