You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a total of 4 slides and have set the slidesPerView to 3. I want to display the full view of the two centered card and half views of the left and right cards.
The default behavior:
If I use slidesOffsetBefore to add some offsets:
The slidesOffsetBefore value is somewhat hard-coded. And there are issues where the left slide always slides away and disappears.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a total of 4 slides and have set the
slidesPerView
to 3. I want to display the full view of the two centered card and half views of the left and right cards.The default behavior:

If I use

slidesOffsetBefore
to add some offsets:The

slidesOffsetBefore
value is somewhat hard-coded. And there are issues where the left slide always slides away and disappears.CodeSanbox
Beta Was this translation helpful? Give feedback.
All reactions