How to implement this slider layout #7042
andreacontestabile
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I need to implement the following design (see attached image):
Everything works fine except the slides don't stay centered (because of the variable height)
Example:
https://codepen.io/seven897/pen/vYvePJY
Given I can't use transform: scale, since all slides can have different widths and ratio, and I want to maintain equal space between slides, what would be the best approach to achieve this layout?
Thank you in advance for your support!
Beta Was this translation helpful? Give feedback.
All reactions