M
M
Mesuti2018-07-26 12:25:43
css
Mesuti, 2018-07-26 12:25:43

How to display half of the next slide in Slick js?

Hey!
How to display half of the next slide in Slick Js?
Sandbox CodePen
Here they talk about a fixed width of the slide and specify the width of the parent 2 times more. But this trick doesn't work.
How to set up a slick slider so that 1 slide is active, and the previous slide and the next one are displayed at 50%?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Chefranov, 2018-07-26
@Chefranov

Select three slides to show, enable centerMode, and use margin to push the outermost slides out of the border.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question