Answers for "cropping an image into a circle"

CSS
1

crop image with circle css

.image-cropper {
  width: 100px;
  height: 100px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

img {
  display: inline;
  margin: 0 auto;
  height: 100%;
  width: auto;
}
Posted by: Guest on October-16-2020

Browse Popular Code Answers by Language