D
D
damarkuzz2020-12-13 02:24:21
JavaScript
damarkuzz, 2020-12-13 02:24:21

How can I make each subsequent slide appear behind the current one?

I use Slick Slider.

I created a slider with a vertical scroll, now the question arose of how to make the effect of an "inverted card deck", I drew it in more detail in the figure.

I tried to play around with z-index, margin, position: absolute;, but in the end I realized that there was something else.
Please share your experience, thanks in advance.

5fd550e4cf67c245481870.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny, 2020-12-13
@damarkuzz

Positioning, transformations (translate, scale) and z-index.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question