K
K
Kipsy2021-07-19 00:09:56
css
Kipsy, 2021-07-19 00:09:56

How to make automatic height and number of slides in swiper?

Good evening. Tell me how it is possible in the slider on swiper
1. Make sure that the height of all slides is the same, focusing on the height of the highest slide. Like product cards on flex for example. For some reason the slider can't do that.
2. Anyway, you can do something, for example, if now there are 6 slides, then when narrowing, they somehow removed those that do not fit or simply remove the scrollbar. Now, for example, they just run into each other until the scrollbar appears. I know that you can use breakpoints , but there are some moments where the slides themselves should somehow be transferred or simply go beyond the overflow.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question