The object-fit Property

No object-fit:

Paris

object-fit: fill (this is default):

Paris

object-fit: contain:

Paris

object-fit: cover:

Paris

object-fit: scale-down:

Paris

object-fit: none:

Paris