i want to change the background color of a div when sections get into the view an when they pass. I just found examples and videos which explain this behavior based on time, which means that the color-change begins when the trigger goes in view and then it (time-based) is finishing.
But I want the color change begins when trigger goes into view and is finishing depending on scrolling.
Here is an Webflow-made example, when you scroll down you can see that the background color is changing in every section, when user stops scrolling, the changing stops too.
Thanks you for help and greats from Berlin.