$(window).scroll(function(){
var w = $(window).scrollTop();
var e = "translateX(" + w*0.05+ "px)";
var f = "translateX(" + w*-0.07+ "px)";
$('.mob1').css({ transform: e })
$('.mob2').css({ transform: e})
$('.mob3').css({ transform: e })
$('.mob4').css({ transform: e })
$('.mob5').css({ transform: f })
$('.imob6').css({ transform: f })
$('.imob7').css({ transform: f })
$('.imob8').css({ transform: f })
});
Plan du site