I'm trying to use the CSS property clip-path
, but I get an Invalid property value
error in Chrome.
Here's a small demo:
.clip-me {
clip-path: inset(0px 50px 50px 0px); /* top, right, bottom, left */
}
<img class="clip-me" src="https://i.stack.imgur.com/MnWjF.png" width="100">
Note: This is different from this question on clip-path does not work with chrome, because it's specifically asking about how to apply clip path using SVG (not CSS)
According to Can I Use, it should work in chrome.