I have searched and read about this topic in a few old threads.
I am still very new to Webflow so I am sure I have done something wrong. Basically I am wanting to achieve a similar outcome to the website below:
When you resize your browser window the slider ratio remains intact. How am I able to achieve this in Webflow? I have tried a number of options based on threads I’ve read from the past few years but I am unsuccessful.
I took the steps you mentioned, and it does seem to scale somewhat but if you wouldn’t mind having a look over my read only incase I’ve done something incorrect?
Images below show how it scale compared to the website I linked in my initial post:
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 667px) and (min-device-width: 375px) and (orientation: portrait)
.container {
top: 30%;
height: 34%;
}
thank you for your help, still early days and trying to understand everything.
I changed the height of my slider into % (instead of PX) and it scales better. Is this advisable for desktop?
Keeping in mind that people generally don’t shrink the browser to the sizes I was on desktop, but I do like that it scales consistently down to such a small browser.
I will read over the Size Settings link you posted.
sorry to bother you, are you able to have a look over my readonly and see if I have done something wrong? When I reduce browser size the image is cropped at the bottom, whereas the reference site image continues to maintain ratio and shrink.