Cut off the sides of an image, preserving the aspect ratio, and also filling in the space:
Note: The object-fit property is not supported in Internet Explorer/Edge 15 or earlier.