If someone can help me I have a page.html with an image inside a div
the div is class="avatar"
.
In the css I have
.avatar {
width: 100%;
margin: 13%;
width: 65px;
border-radius: 50px 50% 50% 50%;
height: 65px;
background: #448ed3 ;
position: relative;
bottom: 50px;
}
.avatar img {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 30%;
border:2px solid #fff;
display: block;
}
This gives me the result that the image is in a circle, but the problem is that the image is cut in the bottom. In other words it does not show the whole image at the bottom.
How can I make it so that it shows me the whole image or can move the image up a bit inside the circle?
PS: the size of the image is Width: 687px Height: 798 px