svg clip path overflowing container

Hey guys, I have an svg clip path image that's overflow its container. I tried object-fit: contain & cover, but it's not really giving me what I want. I want it to take the full width of the container (so it bleeds to the right edge of the screen) https://the-fine-art-group.webflow.io/
No description
4 Replies
vince
vinceOP•3w ago
I got it 😄 had to put aspect-ratio: 1 on it in combination with object-fit: cover Actually this isn't working now 🫣 e
vince
vinceOP•3w ago
So on large screen sizes the image keeps growing; when I try to put a max-height on the image, it does the same thing where the shape gets distorted, even with aspect-ratio: 1; object-fit: cover / contain / etc
No description
vince
vinceOP•3w ago
No description
vince
vinceOP•3w ago
Here's their old website, the developer there I guess just kind of said screw it lol https://www.fineartgroup.com/

Did you find this page helpful?