Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Images are limited in width, which is roughly the standard for such solutions. But so that with all this they are normal in height, the pikchi are cut into the same size. This is the safest way, as it allows you to parse logos with different visual weights.
Another approach is via object-fit , but check browser support there.
Or through background-size:contain;
, but the further, the worse with respect to the first correct method.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question