How can i create a custom shape with css?

Viewed 34

this is the desired outcome I tried using clippy but wasn't able to achieve that shape

1 Answers

You could try to use mask-image for hide some pixels in image.

.element {
  mask-image: url(star.svg);
}

Inside url() set image url.

Related