How to keep image ratio while resizing?
Posted: Sun Oct 07, 2018 6:36 pm
Hi,
How to keep image ratio while resizing? with css?
I looked at the image popup component but cannot figure it out.
Even if I set the size proportionally, for example: width 79%, height 56%, when the screen is resized, the ratio isn't kept.
Thanks in advance.
How to keep image ratio while resizing? with css?
I looked at the image popup component but cannot figure it out.
Even if I set the size proportionally, for example: width 79%, height 56%, when the screen is resized, the ratio isn't kept.
Thanks in advance.