Answers for "responsive images"

3

responsive image in css

.responsive_img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Prevent the image from stretching. So it crops the image to prevent from awkward stretching */
}
Posted by: Guest on May-29-2021
-1

responsive images

<img src="img.png" style="max-width:100%;height:auto;">
Posted by: Guest on May-02-2021
-1

making image responsive

<p>
  <a href="MY WEBSITE LINK" target="_blank">
    <img src="IMAGE LINK" style='width:100%;' border="0" alt="Null">
  </a>
</p>
Posted by: Guest on September-11-2020

Code answers related to "responsive images"

Browse Popular Code Answers by Language