object-fit-cover

A polyfill for the background-image cover effect combined with responsive image behaviour with the `<img>` or `<picture>` element.

Browse on unpkg