You Can Use Auto Fit large image into a div CSS elements by select the above source code (CTRL + A) then copy the code (CTRL + C) and paste (CTRL + V) it in a blank html Page to initially test it. Then you can use the Above Auto Fit large image into a div CSS where ever you want for your project.
You can use this CSS when you adjust a large image into a specified image area. It can be used in photo gallery or the product section of any website. You can adjust any large height or width images into the selected area, Auto Fit large image into a div CSS. The problem arises when the image adjust but not set in it's perspective looking. This CSS quotes really help you to adjust the image size according to to the space without losing it's perfect perspective looking.