how to show a different aspect ratio of a img in css\ code example
Example: keep aspect ratio of image css
img {
display: block;
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}
img {
display: block;
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}