Answers for "make the image scale on height instead of with in css"

CSS
11

css change image width

/*Search Term: "CSS change image width"*/

img {
  width: /*Add width here*/;
}

/*Example*/
img {
  width: 200px;
}
Posted by: Guest on October-12-2020
1

scale down image css

img.resize {
    width: 540px; /* you can use % */
    height: auto;
}
Posted by: Guest on January-29-2021

Browse Popular Code Answers by Language