Cut the corners of any element using CSS mask or clip-path. You can also have border-only variations!
.box {
--mask: radial-gradient(40px at 40px 40px,#0000 98%,#000) -40px -40px;
-webkit-mask: var(--mask);
mask: var(--mask);
}
Support This Project