Polyfill for CSS object-fit property to fill-in/fit-in images into containers.