Skip to content

How to make slides with different width without CSS px #6385

Answered by StasSpawn
StasSpawn asked this question in Q&A
Discussion options

You must be logged in to vote

The answer is

  1. slidesPerView: "'auto'",

You must use both " " and ' ' quotes

  1. Add width: auto; to swiper-slide class

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by StasSpawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant