object-fit: scale-down uses none or contain, whichever makes the content smaller. It never enlarges the image past its natural size.
none
contain
Lines: 0 | Characters: 0