0

enter image description here

In the image above you can see how it has a very nice curved effect end to end.

enter image description here

But the image above this text is all I can achieve. This is by using border-radius: 50%; but this just does not give it the same affect.

Not sure if anyone knows if this is possible to do or not?

I was thinking of creating it as an image as that might be easier.

Vinit Desai
  • 520
  • 1
  • 4
  • 20
Max Loyd
  • 408
  • 6
  • 21

1 Answers1

-1

.withimg{
 background-color: #000;
 text-align: center;
}

.withimg img {
    border-radius: 50%;
    border: 50px solid #000000;
    margin-bottom: -100px;
}
.belowbox{
 height: 200px;
 width: 100%;
 background-color: #10141d;
}
<div class="withimg">
    <img src="https://picsum.photos/id/237/200" alt="">            
</div>
<div class="belowbox"></div>
Bimal Pariyar
  • 257
  • 2
  • 9