Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Alternative fallback #49

Closed
mediaformat opened this issue Jan 21, 2016 · 5 comments
Closed

Alternative fallback #49

mediaformat opened this issue Jan 21, 2016 · 5 comments

Comments

@mediaformat
Copy link

@primozcigler has developped a viable fallback for IE and Edge see here :
https://medium.com/@primozcigler/neat-trick-for-css-object-fit-fallback-on-edge-and-other-browsers-afbc53bbb2c3

@anselmh
Copy link
Owner

anselmh commented Jan 21, 2016

Yes, I’ve seen this already, thanks. I’m going to add this as a note into the Readme. But please not this provides only the basic feature of object-fit, and behaves a bit differently so always test if it’s working the way you want it to. :)

@anselmh
Copy link
Owner

anselmh commented Jan 21, 2016

Added to README here.

@anselmh anselmh closed this as completed Jan 21, 2016
@primozcigler
Copy link

@mediaformat thank you!

As @anselmh mentioned, my fallback explained in article only supports subset of what is possible to achieve with object-fit. But AFAIK the most common use case 😄

@anselmh
Copy link
Owner

anselmh commented Jan 21, 2016

But AFAIK the most common use case 😄

It is, so thanks again for building, documenting and publishing this lightweight alternative, @primozcigler! :)

@mediaformat
Copy link
Author

This provides only the basic feature of object-fit
@anselmh True, I was thinking narrowly of my use case! Thanks for adding the note!

@primozcigler Thank you sir for the clever fallback!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants