img set aspect ratio 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;
}