G
G
Gyusss2020-12-22 10:44:28
JavaScript
Gyusss, 2020-12-22 10:44:28

How to implement such a slider plan, the central slide is larger than the rest?

Hello, how to make such a slider plan, through slick css, swiper, so that the central slide is large with a length of 698px, and the rest are 471px. When you change the slide, the active one should gradually increase and become the desired size.

5fe1a3ca1404c740635232.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2020-12-22
@approximate_solution

On the class active(to see what class is thrown on the active slider) hang transform: scale(); and transition: scale ...
When hanging the active class on the slide, there will be a smooth increase.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question