make web images responsive code example
Example 1: responsive img
.responsive-img {
max-width:100%;
display:block;
height:auto;
}
Example 2: responsive images
<img src="img.png" style="max-width:100%;height:auto;">
.responsive-img {
max-width:100%;
display:block;
height:auto;
}
<img src="img.png" style="max-width:100%;height:auto;">