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 am trying to achieve something like this where 2 slides off to the side takes up equal widths while the center "active" slide is bigger.
I followed the "Scale" example which works great but sadly trying to apply the same technique for changing slide size causes the Carousel to break. Anyone has some suggestions on workarounds?
If applicable, which variants of Embla Carousel are relevant to this question?
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
-
Summary
I am trying to achieve something like this where 2 slides off to the side takes up equal widths while the center "active" slide is bigger.
I followed the "Scale" example which works great but sadly trying to apply the same technique for changing slide size causes the Carousel to break. Anyone has some suggestions on workarounds?
If applicable, which variants of Embla Carousel are relevant to this question?
Additional information
No response
CodeSandbox example
No response
Beta Was this translation helpful? Give feedback.
All reactions