Answer the question
In order to leave comments, you need to log in
Why is the image going beyond the parent's height?
Hello.
Prompt - why the image goes beyond the parent, limited in height?
Example here - https://codepen.io/mytrash/pen/yLbXqOP
I know about
img {
max-width: 100%;
height: auto;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question