R
R
Ruslan Dasaev2021-05-01 19:29:01
PHP
Ruslan Dasaev, 2021-05-01 19:29:01

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

2 answer(s)
L
Lander, 2018-09-24
@artmirarmi

$newArray = array_merge(...$array);

B
Brendan Castaneda, 2021-06-16
@ae_ph

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 question

Ask a Question

731 491 924 answers to any question