Answers for "how to crop in css"

CSS
0

style image so it crops

.alligator-turtle {
  object-fit: cover;
  object-position: 100% 0;

  width: 300px;
  height: 337px;
}
Posted by: Guest on July-15-2020
0

css crop image

.imgContainerDiv {
  overflow: hidden;
}
Posted by: Guest on June-26-2021

Browse Popular Code Answers by Language