📅  最后修改于: 2022-03-11 14:47:30.399000             🧑  作者: Mango
.center{
object-fit: scale-down;
max-width: 100%;
max-height: 100%;
height: 15em; /*set your constraint to height/width and set the other to auto*/
width: auto;
}