How to specify relative to what block to do the parallax effect in scale in rellax.js?

Use https://dixonandmoe.com/rellax/
Can't figure out how to make parallax worked relative needs block and not the entire body
For example, while I the scrolls to the bottom of the unit, which has parallax movement of objects, they are already going far beyond the region because the scroll is from the body
In the first block everything is OK because he is the first and the beginning of the body there corresponds to the beginning of the block
By code I only have this var rellax = new Rellax('.particle');
April 7th 20 at 15:19
0 answer

Find more questions by tags JavaScriptLayout