paroller.js icon indicating copy to clipboard operation
paroller.js copied to clipboard

Scroll Inverse

Open thagxt opened this issue 5 years ago • 0 comments

I'm trying to have 2 columns, when scrolling, content of the left one goes up, and the right one goes down... something like the example you provided with the backgrounds.

I'm not able to make the +/- thing work properly. Content always goes up when I scroll.

Example of what I'm trying to do: Gif Example

here's the code I'm using:

<div data-paroller-factor="-0.5" data-paroller-type="foreground"></div>
<div data-paroller-factor="+0.3" data-paroller-type="foreground"></div>

thagxt avatar Mar 21 '19 18:03 thagxt