Answer the question
In order to leave comments, you need to log in
How to make a "peculiar" parallax?
Good morning!
Tell me how to program an unusual parallax effect. The bottom line is this, there is a block in a random place on the page 700 pixels high, 100% wide, position relative. This block has several other square blocks of maximum 80 by 80 pixels with absolute positioning. How can I make it so that when scrolling the page when this large block is visible, the blocks inside it float vertically within certain limits (let's say 50 pixels up and 50 down)? Google and ready-made plugins cannot do this, or I did not find it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question