Resize the image to fit its content box, and position the image 5px from the left and 10% from the top inside the content box:
Note: The object-position and object-fit properties are not supported in Internet Explorer/Edge 15 or earlier.