Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
object-fit
Height will have to be set to 100% (if you can't write height, I don't know why, then you can stretch with an absolute or flex), because the height of your image is not enough to fill the entire area.
It is reasonable to use pictures with sizes proportional to the size of the block (in your case, square)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question