object-fit — How a replaced elements content fits within its box. Syntax: object-fit: fill | contain | cover | none | scale-down. This CSS property reference includes live examples and browser support.
Back to CSS Reference