How to perfect adjust image in background

saw in course there were different position center right etc but how to adjust an image in background with perfect position because if i do 100% or px the image become too zoom any solution ?

use
background-size:cover;