DEV Community

loading...

Discussion on: Images Larger than Container CSS

Collapse
jimfrenette profile image
Jim Frenette Author • Edited

I guess that depends on your supported browser spec. - caniuse.com/#search=object-fit

Collapse
kasparsz profile image
Kaspars Zuks

I use this polyfill, haven't had any major issues in older browsers with it npmjs.com/package/object-fit-images

Thread Thread
jimfrenette profile image
Jim Frenette Author

Thanks for the info! I will have to update my original post with this resource.