0

I want to use clip-path to cut a box with a circular cut. Using clip-path: polygon is a bit difficult to cut. Is there any way to cut a circular cut? enter image description here

div{
    width: 200px;
    height: 300px;
    background-color: #00a3ee;
    clip-path: polygon(0 0,100% 0,100% 90%,90% 94%,0 200%);
}
<div></div>
Purple awn
  • 127
  • 9

1 Answers1

0

I would recommend using radial-gradient over clip-path Take a look:

div{
    width: 200px;
    height: 300px;
    background: radial-gradient(circle at bottom right, transparent 15%, #00a3ee 15.5%);
}
<div></div>
John
  • 5,132
  • 1
  • 6
  • 17