I got a pretty basic SVG clip-path:
<svg width="0" height="0">
<defs>
<clipPath id="line">
<path d="..." />
</clipPath>
</defs>
</svg>
Which i wanna use w/ CSS:
div {
clip-path: url(#line);
&:before {
...
}
}
It's working fine with Google Chrome, but not showing at all in Safari.
Also tried adding the -webkit- prefix.
Here's a live demo: https://jsfiddle.net/1dtpLg8y/
Its actually working if you get rid of the :before element: https://jsfiddle.net/fp5mouLn/
Here's a working SVG only version: https://jsfiddle.net/3gt67cLh/1/ but would love to do this with CSS.
Not showing anything in Safari.
