// html
<div class="box">
<img src= "" />
</div>
// style
.box {
display: flex;
justify-center: center;
align-items: center
}
.box img {
display: block;
max-width: 100%;
max-height: 100%;
}
// html
<div class="box">
<img src= "" />
</div>
// style
.box {
display: flex;
justify-center: center;
align-items: center
}
.box img {
display: block;
max-width: 100%;
max-height: 100%;
}