r/css•
notepad987

Image displays bigger then it should

Question

Image displays bigger then it should.
Question: How to fix?
I am using the following code and have added the dimensions in the img src= ..... width="117" height="165":

max-width: 100%;
height: auto;

Codepen

Posted Sep 22, 2025, 12:13 AM UTC

14
Loading comments…