object-fit-IE Demo

object-fit: object-position-x: object-position-y:
1

without js

object-fit:
object-position:

1

with js

2

without js

object-fit:
object-position:

2

with js