R
R
romankushnarov2020-12-08 18:06:23
css
romankushnarov, 2020-12-08 18:06:23

How to set up slick-slider with initial indentation of first and last slide?

Please tell me how to set up such a slider. When scrolling the slider, the first element should move to the left and look like the last one on the screen. The block itself is wrapped in a max-width: 1920px container, so it won't go outside.

5fcf964aa092b536276877.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Nikolaev, 2020-12-08
@romankushnarov

.slick-slide:not(.slick-active){
    opacity: 0.7;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question