I have an image which I used the CSS property of "object-fit: cover" on but the focus of the image is cropped. Is there anyway to fix this in CSS?
image ex.
(the "0" is the focus/part that I want in frame)
-------------------------
|-------------------------|
|-------------------------|
|-------------------------|
------------0------------
I am unsure what to try and I haven't found any info yet.
CodePudding user response:
There is an object-position
property that you can set along object-fit
.