Answer the question
In order to leave comments, you need to log in
How to crop SVG?
Hello, there is such a svg
CodePen
file This is
how it looks in the browser
Answer the question
In order to leave comments, you need to log in
I tried to crop in Photoshop and through the fill, but there are torn parts
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="699px">
<path fill="#CA0303" d="M0,0v57.158c0,0,496.366-70.005,964,44c443,108,956-44,956-44V0H0z"/>
</svg>
- Well, it seems to work... (along with the picture)))
The template is here
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="699px">
<pattern id="pattern"
width="100%" height="100%">
<image xlink:href="http://wallpapers-image.ru/1280x720/flowers/wallpapers-1280x720/zastavki-khrizantema-cvety-1280x720.jpg" width="100%" />
</pattern>
<path fill-rule="evenodd" fill="url(#pattern)"
d="M 0 200
Q 300 50 600 200
Q 900 350 1200 200
L 1200 50 L 0 50 Z"/>
</svg>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question