Plan du site

$(window).scroll(function(){ var w = $(window).scrollTop(); var a = "translateY(" + w*0.02 + "px)"; var b = "translateX(" + w*0.01 + "px)"; var c = "translateX(" + w*0.01 + "px)"; $('#img-move1').css({ transform : a }) ; $('#img-move2').css({ transform : b }) ; $('#img-move3').css({ transform : c }) });

Plan du site