While researching how to make CSS image height by width, I came across this question on Stack Overflow. At first I thought it was a joke, I think there is a mistake. The footer seems to have shifted to the side.
Question link : CSS: 100% width or height while keeping aspect ratio?
Note: I did not encounter such a problem in other questions.