heyMP / frontend-dev

Don't use this anymore now that polymer and web components exist :)
8 stars 2 forks source link

Trade out object-fit for imgLiquid jquery library. #19

Closed heyMP closed 8 years ago

heyMP commented 9 years ago

There are just too many quarks with the object-fit implementation.

heyMP commented 9 years ago

@bradallenfisher what do you think about this one?

bradallenfisher commented 9 years ago

at this time it seems like https://github.com/karacas/imgLiquid is the easiest way to get the effect. I know it's not pure css but the pure css solution just isn't ready yet for all modern browsers.

bradallenfisher commented 8 years ago

i never found a good solution to this btw. did you?

heyMP commented 8 years ago

No not yet. Although. It might be better to go with an object-fit polyfill so that way it's future proof.