A
A
Anatoly Bogomol2020-05-29 09:09:42
css
Anatoly Bogomol, 2020-05-29 09:09:42

How to make a slick slider so that there is a large picture in the center, and the side ones are cut off by the edges of the screen by about half?

I'm doing it on a slick slider. I use the property centerMode: true, but I can't get it right.
Tell me how to do it? And to adapt somehow. The option with breakpoints is not suitable, since the slider must be the entire width of the screen.
slider.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Chuvilin, 2020-05-29
@bogomolAD

You can do it like this:
codepen
5ed0cad7b4ae2968702190.png

K
Kirill Bakulin, 2020-05-29
@egoism

Use centerMode and vw for slide dimensions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question