HTML
<div class="images-slide"> <img src="/footer-image.png" alt="Gallery" title="Gallery"> </div>
CSS
.images-slide img { max-width: 100%; height: auto; }
To un-do this effect for images, you can specify either of the styles below,
img { display:block; }
orimg { vertical-align:bottom; }
No comments:
Post a Comment