css property object fit code example Example: object-fit values in css img{ object-fit: cover|contain|fill|none|scale-down; }