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/
4 Replies
I got it 😄 had to put
aspect-ratio: 1
on it in combination with object-fit: cover
Actually this isn't working now 🫣 eSo 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


Here's their old website, the developer there I guess just kind of said screw it lol https://www.fineartgroup.com/