Looking for assistance to fix the squished image in HTML & CSS.
I used the CSS code provided by Figma to style the image in html, but it resulted in a different aspect ratio from the original picture, causing the image to appear squished. Any help is appreciated!
I have tried using max-width, 100vw, and other methods, but none of them seem to work.
.foto_1 {
position: absolute;
left: 89px;
top: 10px; /* 904px; */
}
<div class="foto_1">
<img src="https://via.placeholder.com/800x1600" alt="" style="width: 551px; height: 590px;">
</div>