Parallax Scrolling Effect - Background-gradient doesn't work - PLEASE HELP

Please Help.

I have a problem with the scrolling effect!
The effect works fine, but do not get what I wanted.
I think background-gradient ist the problem, but how do I make the same effect?!

Demo Website
Preview Webflow

The code is:

var EASE = 0.2;

$(function()
{
$(document).scroll(function()
{
$(‘#home’).css(‘background-position’,'0 '+($(document).scrollTop()*EASE)+‘px ‘);
$(’#beratung’).css(‘background-position’,'0 '+($(document).scrollTop()*EASE)+‘px ‘);
$(’#imagevideo’).css(‘background-position’,'0 '+($(document).scrollTop()*EASE)+'px ');
}
);
}
);

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.