How to resize image proportionally with CSS?

Example

img {
    max-width:100%;
    height:auto;
}

Read more

Advertisements