Set widths for slides in freeMode? #4267
Answered
by
nolimits4web
dungle-scrubs
asked this question in
Q&A
-
Hi, Is it possible to have slides at a set with (with set spacing between them) in freeMode? This would be as opposed to having to specify the number of slides per view. An example would be like this where the slide items can be fixed and exist partially out of the screen. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
nolimits4web
Feb 26, 2021
Replies: 1 comment 1 reply
-
Yes, set .swiper-slide {
width: 320px;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vltansky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, set
slidesPerView: 'auto'
and set slide's size in CSS, for example: