R
R
rmltsn2022-01-05 21:59:45
Slider
rmltsn, 2022-01-05 21:59:45

How to make a slider with collapsing elements?

First of all, of course, I would like to find a ready-made solution, but if not, then thoughts on how best to implement it will be very helpful.
61d5ea8f1f185005055390.png

The slider should look like in the picture - this is 768-320 resolution, the current slide is shown on the far left, the rest of the slides are in the field of view and run into each other, when flipping, the current slide goes to the left and is added to all slides, and to the right of it takes its place . That is, the difference from the standard slider is that non-current elements must run into each other and the user must see them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rmltsn, 2022-01-13
@rmltsn

I found a solution for those who are interested, I was looking for a similar slider for a long time, and redid it a little, adjusting it to my tasks is already a matter of technology;)
https://codepen.io/dmitry-timofeev/pen/xxXQJgj

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question