I'm trying to make a normal shaped image be transformed into the following shape when uploaded to my website:
Using the following css i managed to get something close to this:
.img {
position: absolute;
left: 0px;
top: -10rem;
width: 100%;
height: 100%;
border-top-right-radius: 10%;
border-bottom-right-radius: 45%;
border-bottom-left-radius: 50%;
border-top-left-radius: 50%;
}
But it doesn't really look circular at the bottom and right side., the shape comes out odd.
I basically want the CSS to transform any shaped image uploaded into the right angle/circle shape attached, but I'm struggling. Any help appreciated.