because this difference in the images is to say in chrome the image looks deformed while in Firefox it looks like I hope my code to adjust the images is the following:
.dark{
display: flex;
justify-content:center;
align-items: center;
padding: 0px;
}
.dark img{
height: auto;
max-width: 100%;
width: 100%;
max-height:550px;
}
<div class="dark">
<div>
<img id="img" src="https://i.imgur.com/x8SPZUF.jpg">
</div>
</div>
the image on the right is the one that looks correct ie the fire fox image
Is there any CSS property that one or the other does not support or what?