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
as you can see below, by tinkering with aspectRatio I got almost the same height, but it feels like completely wrong approach.
My ultimate goal is to create a slider, where a single slide consist of two images:
[slide]
[square]
[rectangular]
[/slide]
and from obvious reasons, they should be equal. Obviously I can fake it, and cover the differences with overflow hidden or some other CSS techniques, but I would leave those as a last resort solutions.
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I struggle to find a solution to create an equaly tall pair of images, selected from two sets: square images and rectangular images.
Currently that's my GraphQl query to create the sets:
as you can see below, by tinkering with aspectRatio I got almost the same height, but it feels like completely wrong approach.
My ultimate goal is to create a slider, where a single slide consist of two images:
[slide]
[square]
[rectangular]
[/slide]
and from obvious reasons, they should be equal. Obviously I can fake it, and cover the differences with overflow hidden or some other CSS techniques, but I would leave those as a last resort solutions.
Beta Was this translation helpful? Give feedback.
All reactions