0bject-fit fix for Internet Explorer

Hi
I’ve been working on my front-end dev skill and started to use CSS3.

I put my changes live and annoyingly found that object-fit:cover isn’t supported in Internet Explorer or Edge.

Is there any fixes available or do I just need to put up with it until Microsoft decide to support it?

Thanks,

There is a “Polyfill” for it here:-

2 Likes

It is supported in Edge as far as img is concerned.

I wrote a small fallback script for object-fit cover here which might be of use but not a proper polyfill.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.