Answers for "overflow image in div"

CSS
2

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

Browse Popular Code Answers by Language