IE|IE 11 处理 object-fit: contain 问题

IE|IE 11 处理 object-fit: contain 问题

.imgWrap { position: relative; height: 100%; width: 100%; display: flex; justify-content: center; align-items: center; } img { object-fit: contain; width: 100%; max-width: 100%; max-height: 100%; }

    推荐阅读