Answers for "make responsive imagee"

CSS
0

CSS Responsive Image

<style>
#imgx img {
    float:left;
    margin:2px;
    border-radius:7px;
    display: block;
    max-width:100%;
    height:auto;
    width:100%;
}
  </style>
  
  
  
  
<div id="imgx" class="col-xs-12 col-sm-12" style="padding-bottom:5px;">
Posted by: Guest on March-27-2022
0

img responsiveness

img,
video,
iframe {
  max-inline-size: 100%;
  block-size: auto;
}
Posted by: Guest on January-21-2022

Browse Popular Code Answers by Language