Y
Y
Yaroslav Ivanov2016-10-28 13:21:17
css
Yaroslav Ivanov, 2016-10-28 13:21:17

What is the difference between SVG path d="" and -webkit-clip-path?

Is it possible to convert/rewrite for example this

<svg>
 <path d="M286,113c0,0-68.8,9-136,9c-78.2,0-137-9-137-9S3,97.198,3,62.5C3,33.999,13,12,13,12S72,2,150,2c85,0,136,10,136,10s11,17.598,11,52C297,96.398,286,113,286,113z">
 </path>
</svg>

in -webkit-clip-path: polygon(........);
Or are they completely different things?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2016-10-28
@space2pacman

SVG path is a path rendering.
-webkit-clip-path is the clipping of the render area

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question