Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
The object-fit Property
No object-fit:
object-fit: fill (this is default):
object-fit: contain:
object-fit: cover:
object-fit: scale-down:
object-fit: none:
Note: The object-fit property is not supported in Internet Explorer/Edge 15 or earlier.