Answers for "i wish to set image to not overflow in html"

CSS
1

css image overflow

.image-holder{
  width: 500px;
  height: 500px;
  overflow: hidden;
}
.image-holder img{
  width: 100%;
  height: 100%;
}
Posted by: Guest on June-17-2021

Code answers related to "i wish to set image to not overflow in html"

Browse Popular Code Answers by Language