I have multiple images which have a size of 2000px by 2000px. I want to put them into square 500px by 500px. And I want to crop the images so that about 10% of the image at each border would not be visible. (Like taking 80% by 80% of the picture at the center)
How do I do that? The solution below would crop the image too much.
background-position: center center;