Answer the question
In order to leave comments, you need to log in
How to implement partial covering of the 1st block by the second one when scrolling?
Hello colleagues. Interested in your opinion on how to create the effect link to the gif (click on the top right on the three dots - open the original). First, the top of the second block fits on the 1st. Then, at a certain point, the effect stops working and the standard scrolling follows. How did you solve this problem in your practice?
Answer the question
In order to leave comments, you need to log in
In JS, you can do this by setting different styles for boxes when scrolling the page.
This article can help you link .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question