5
I have a div block with height and width of 55px and border-Radius: 100%; and I want to put an image inside, but if the image is rectangular and I leave it with border-Radius: 100%; it is oval! There’s a way for the div to overlay the image and cover the outside of the circle like this :
Even if the image is half rectangular, without the distortion ? I understand that the div should superimpose the image, in the ending thus :
From now on, thank you!
Just put the image inside the
<div>
asbackground
. Then it will show the round image.– Franchesco